File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 4747 with :
4848 toolchain : stable
4949
50+ - name : Restore cache
51+ uses : actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
52+ with :
53+ path : |
54+ ~/.cargo/bin/
55+ ~/.cargo/registry/index/
56+ ~/.cargo/registry/cache/
57+ ~/.cargo/git/db/
58+ key : cargo-audit-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-${{ github.run_id }}
59+ restore-keys : |
60+ cargo-audit-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
61+ cargo-audit-${{ runner.os }}-
62+
5063 - name : Install cargo-audit
51- run : cargo install cargo-audit
64+ run : cargo install cargo-audit --locked || true
5265
5366 - name : Run cargo audit
5467 run : cargo audit
68+
69+ - name : Save cache
70+ uses : actions/cache/save@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
71+ if : always()
72+ with :
73+ path : |
74+ ~/.cargo/bin/
75+ ~/.cargo/registry/index/
76+ ~/.cargo/registry/cache/
77+ ~/.cargo/git/db/
78+ key : cargo-audit-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-${{ github.run_id }}
You can’t perform that action at this time.
0 commit comments