File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed
Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 2121 - name : install ${{ matrix.rust }} toolchain
2222 run : rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
2323 - run : cargo build
24- security-audit :
25- runs-on : ubuntu-latest
26- steps :
27- - name : cache build
28- uses : actions/cache@v4
29- with :
30- path : |
31- ~/.cargo/registry/index/
32- ~/.cargo/registry/cache/
33- target/
34- key : key-${{ hashFiles('Cargo.lock') }}
35- - uses : actions/checkout@v6
36- - uses : rustsec/audit-check@v2
37- with :
38- token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : security audit
2+ on :
3+ push :
4+ paths :
5+ - ' **/Cargo.toml'
6+ - ' **/Cargo.lock'
7+ env :
8+ CARGO_TERM_COLOR : always
9+ jobs :
10+ security-audit :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v6
14+ - uses : rustsec/audit-check@v2
15+ with :
16+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments