update-deps #34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: update-deps | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 0" # Run weekly on Sunday | |
| workflow_dispatch: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| - name: Setup cargo and update dependencies | |
| run: | | |
| cargo install cargo-edit | |
| cargo update | |
| cargo upgrade --incompatible | |
| shell: bash | |
| - name: Create PR | |
| id: create-pr | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: 'chore: update dependencies' | |
| title: 'chore: update dependencies' | |
| body: | | |
| chore: update dependencies | |
| branch: update-dependencies |