Finish off support for Bitcoin Core v31.0 #246
Workflow file for this run
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
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| name: Audit | |
| jobs: | |
| audit: | |
| name: Security audit - ${{ matrix.lockfile }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| checks: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| lockfile: [Cargo.lock, Cargo-minimal.lock, Cargo-recent.lock] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Generate fresh Cargo.lock | |
| if: ${{ matrix.lockfile == 'Cargo.lock' }} | |
| run: cargo generate-lockfile | |
| - name: Use ${{ matrix.lockfile }} | |
| if: ${{ matrix.lockfile != 'Cargo.lock' }} | |
| run: cp ${{ matrix.lockfile }} Cargo.lock | |
| - uses: rustsec/audit-check@v2.0.0 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |