ok/jj
1
0
Fork 0
forked from mirrors/jj

deny: run as a github action so it's tested in CI

I think I did this right?
This commit is contained in:
Augie Fackler 2022-08-22 14:33:45 -04:00
parent 6f21b321b0
commit 679cd4cd95

View file

@ -66,6 +66,23 @@ jobs:
command: fmt
args: --all -- --check
cargo-deny:
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans licenses sources
# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
- uses: actions/checkout@v2
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}
clippy-check:
name: Clippy check
permissions: