Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Merge pull request #139 from flyingrobots/session-host #239

Merge pull request #139 from flyingrobots/session-host

Merge pull request #139 from flyingrobots/session-host #239

# 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