Skip to content

Commit cf8cf09

Browse files
committed
ci: replace audit with deny
1 parent 1e10f20 commit cf8cf09

File tree

2 files changed

+28
-20
lines changed

2 files changed

+28
-20
lines changed

.github/workflows/audit.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/deny.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Security audit
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0'
6+
push:
7+
paths:
8+
- '**/Cargo.toml'
9+
- '**/Cargo.lock'
10+
pull_request:
11+
workflow_dispatch:
12+
13+
jobs:
14+
15+
deny-check:
16+
name: cargo-deny check
17+
runs-on: ubuntu-latest
18+
continue-on-error: ${{ matrix.checks == 'advisories' }}
19+
strategy:
20+
matrix:
21+
checks:
22+
- advisories
23+
- bans licenses sources
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: EmbarkStudios/cargo-deny-action@v1
27+
with:
28+
command: check ${{ matrix.checks }}

0 commit comments

Comments
 (0)