Merge pull request #139 from flyingrobots/session-host #239
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
| # SPDX-License-Identifier: Apache-2.0 OR MIND-UCAL-1.0 | |
| # © James Ross Ω FLYING•ROBOTS <https://github.com/flyingrobots> | |
| name: Security Audit | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - "echo/**" | |
| - "feat/**" | |
| pull_request: | |
| jobs: | |
| audit: | |
| name: Cargo Audit (stable) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: false | |
| - uses: dtolnay/[email protected] | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| ~/.cargo/bin/cargo-audit | |
| key: audit-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Install cargo-audit | |
| run: | | |
| if ! command -v cargo-audit >/dev/null; then | |
| cargo install cargo-audit --locked | |
| fi | |
| - name: Run cargo audit | |
| run: cargo audit --deny warnings \ | |
| --ignore RUSTSEC-2024-0436 \ | |
| --ignore RUSTSEC-2021-0127 |