mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
Add cargo-deny to CI (#3185)
This commit is contained in:
1 parent
9c6a60d97c
commit
9bb2d28ce2
6 files changed
+69
-2
No files matched your search
@@ -356,3 +356,31 @@ jobs:
|
||||
- name: build Deno
|
||||
run: |
|
||||
cargo clippy --manifest-path cts_runner/Cargo.toml
|
||||
|
||||
cargo-deny-check-advisories:
|
||||
name: "Run `cargo deny check advisories`"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run `cargo deny check`
|
||||
uses: EmbarkStudios/cargo-deny-action@v1
|
||||
with:
|
||||
command: check advisories
|
||||
arguments: --all-features --workspace
|
||||
rust-version: ${{ env.RUST_VERSION }}
|
||||
|
||||
cargo-deny-check-rest:
|
||||
name: "Run `cargo deny check`"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run `cargo deny check`
|
||||
uses: EmbarkStudios/cargo-deny-action@v1
|
||||
with:
|
||||
command: check bans licenses sources
|
||||
arguments: --all-features --workspace
|
||||
rust-version: ${{ env.RUST_VERSION }}
|
||||
Reference in new issue
Block a user