-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (26 loc) · 901 Bytes
/
cargo_deny.yml
File metadata and controls
30 lines (26 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Cargo Deny
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: cargo-deny-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
bans-licenses-sources:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install Cargo Deny
run: cargo install cargo-deny
- name: Run Cargo Deny (bans, licenses, sources)
run: cargo deny --manifest-path ./Cargo.toml check bans licenses sources
advisories:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install Cargo Deny
run: cargo install cargo-deny
- name: Run Cargo Deny (advisories)
run: cargo deny --manifest-path ./Cargo.toml check advisories