bitreq: Fix connection persistence, pool refresh
#390
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 | |
| # Run one at a time, otherwise parallel jobs create the same advisory issue twice. | |
| max-parallel: 1 | |
| 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 }} |