cargo deny runs on CI
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -22,6 +22,19 @@ jobs:
|
|||||||
- run: rustup component add rustfmt
|
- run: rustup component add rustfmt
|
||||||
- run: cargo fmt --all -- --check
|
- run: cargo fmt --all -- --check
|
||||||
|
|
||||||
|
# Lint dependency graph for security advisories, duplicate versions, and
|
||||||
|
# incompatible licences
|
||||||
|
cargo_deny:
|
||||||
|
name: Cargo deny
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- uses: ./.github/actions/install-rust
|
||||||
|
- run: cargo install cargo-deny
|
||||||
|
- run: cargo deny check
|
||||||
|
|
||||||
# Build `mdBook` documentation for `wasmtime`, and upload it as a temporary
|
# Build `mdBook` documentation for `wasmtime`, and upload it as a temporary
|
||||||
# build artifact
|
# build artifact
|
||||||
doc_book:
|
doc_book:
|
||||||
|
|||||||
Reference in New Issue
Block a user