File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed
Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Dependency Audits
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : ["main"]
7+ schedule :
8+ - cron : " 0 6 * * 1"
9+ workflow_dispatch :
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ cargo-audit :
16+ name : Cargo Audit (${{ matrix.lockfile }})
17+ runs-on : ubuntu-latest
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ lockfile :
22+ - Cargo.lock
23+ - bindings/ffi/Cargo.lock
24+ - bindings/java/Cargo.lock
25+ - bindings/python/Cargo.lock
26+ - bindings/ruby/Cargo.lock
27+ - bindings/wasm/Cargo.lock
28+ steps :
29+ - name : Checkout repository
30+ uses : actions/checkout@v4
31+
32+ - name : Run cargo audit
33+ uses : rustsec/audit-check@v2
34+ with :
35+ token : ${{ secrets.GITHUB_TOKEN }}
36+ lockfile : ${{ matrix.lockfile }}
37+
38+ cargo-deny :
39+ name : Cargo Deny (${{ matrix.manifest }})
40+ runs-on : ubuntu-latest
41+ strategy :
42+ fail-fast : false
43+ matrix :
44+ manifest :
45+ - Cargo.toml
46+ - bindings/ffi/Cargo.toml
47+ - bindings/java/Cargo.toml
48+ - bindings/python/Cargo.toml
49+ - bindings/ruby/Cargo.toml
50+ - bindings/ruby/ext/regorusrb/Cargo.toml
51+ - bindings/wasm/Cargo.toml
52+ - tests/ensure_no_std/Cargo.toml
53+ - xtask/Cargo.toml
54+ steps :
55+ - name : Checkout repository
56+ uses : actions/checkout@v4
57+
58+ - name : Setup Rust
59+ uses : ./.github/actions/toolchains/rust
60+
61+ - name : Run cargo deny
62+ uses : EmbarkStudios/cargo-deny-action@v2
63+ with :
64+ command : check
65+ command-arguments : advisories bans
66+ manifest-path : ${{ matrix.manifest }}
You can’t perform that action at this time.
0 commit comments