mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
add cargo-deny job (#5347)
* add cargo-deny job * feat(ci): add cargo-deny CI job, checks registries, licenses, dependencies dupes and advisories
This commit is contained in:
@@ -145,6 +145,20 @@ cargo-audit:
|
||||
- cargo audit
|
||||
allow_failure: true
|
||||
|
||||
cargo-deny:
|
||||
stage: test
|
||||
<<: *docker-env
|
||||
script:
|
||||
- cargo deny check --hide-inclusion-graph -c .maintain/deny.toml
|
||||
after_script:
|
||||
- echo "___The complete log is in the artifacts___"
|
||||
- cargo deny check -c .maintain/deny.toml 2> deny.log
|
||||
artifacts:
|
||||
name: $CI_COMMIT_SHORT_SHA
|
||||
expire_in: 3 days
|
||||
when: always
|
||||
paths:
|
||||
- deny.log
|
||||
|
||||
cargo-check-benches:
|
||||
stage: test
|
||||
@@ -176,7 +190,7 @@ test-linux-stable: &test-linux
|
||||
variables:
|
||||
- $DEPLOY_TAG
|
||||
script:
|
||||
- WASM_BUILD_NO_COLOR=1 time cargo test --all --release --verbose --locked |
|
||||
- WASM_BUILD_NO_COLOR=1 time cargo test --all --release --verbose --locked |&
|
||||
tee output.log
|
||||
- sccache -s
|
||||
after_script:
|
||||
|
||||
Reference in New Issue
Block a user