Update Dependencies #6
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 Dependencies | |
| on: | |
| schedule: | |
| # Run every Monday at 9:00 AM UTC | |
| - cron: '0 9 * * 1' | |
| workflow_dispatch: # Allow manual triggers | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| update: | |
| name: Update Dependencies | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libasound2-dev libudev-dev pkg-config | |
| - name: Update dependencies | |
| run: cargo update | |
| - name: Run tests | |
| run: cargo test --all-features | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v6 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: | | |
| chore: update dependencies | |
| Automated weekly dependency update. | |
| 🤖 Generated by GitHub Actions | |
| branch: deps/automated-update | |
| delete-branch: true | |
| title: 'chore: Update dependencies (automated)' | |
| body: | | |
| ## Automated Dependency Update | |
| This PR updates all Cargo dependencies to their latest compatible versions. | |
| ### Changes | |
| - Updated `Cargo.lock` via `cargo update` | |
| - All tests passing | |
| ### Review Checklist | |
| - [ ] Review dependency changes in `Cargo.lock` | |
| - [ ] Check for breaking changes in updated crates | |
| - [ ] Verify tests pass | |
| - [ ] Check for security advisories | |
| --- | |
| 🤖 Generated by GitHub Actions | |
| labels: dependencies |