Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sauliusgrigaitis committed Dec 23, 2024
1 parent 0a58908 commit a927be4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Audit Dependencies"
on:
push:
paths:
# Run if workflow changes
- '.github/workflows/audit.yml'
# Run on changed dependencies
- '**/Cargo.toml'
- '**/Cargo.lock'
# Run if the configuration file changes
- '**/audit.toml'
# Rerun periodicly to pick up new advisories
# schedule:
# - cron: '0 0 * * *'
# Run manually
workflow_dispatch:

jobs:
audit:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/audit@v1
name: Audit Rust Dependencies
with:
# Comma separated list of issues to ignore
ignore: RUSTSEC-2024-0370, RUSTSEC-2023-0071
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,4 @@ jobs:
- name: Check consensus-spec-tests coverage (Linux)
if: runner.os == 'Linux'
run: scripts/ci/consensus-spec-tests-coverage.rb
# Ignore RUSTSEC-2023-0071 because we don't use RSA in `jwt-simple`
- name: Run cargo audit (Linux)
if: runner.os == 'Linux'
run: cargo audit --ignore RUSTSEC-2024-0370 --ignore RUSTSEC-2023-0071

0 comments on commit a927be4

Please sign in to comment.