Add check_licenses to CI.
The artifact-caching logic is taken from other examples in the .gitlab-ci.yml.
This commit is contained in:
parent
842e6a697d
commit
c8997b652a
|
@ -39,6 +39,8 @@ rust-latest:
|
|||
- rustup show
|
||||
- cargo clippy --all-features --all-targets -- -D warnings
|
||||
- cargo fmt -- --check
|
||||
- cp cargo-license $CARGO_HOME/bin/ || cargo install cargo-license
|
||||
- ./maint/check_licenses
|
||||
- cp cargo-audit $CARGO_HOME/bin/ || cargo install cargo-audit
|
||||
- ./maint/cargo_audit
|
||||
- cp $CARGO_HOME/bin/cargo-audit .
|
||||
|
@ -50,6 +52,7 @@ rust-latest:
|
|||
paths:
|
||||
- cargo-audit
|
||||
- cargo-sort
|
||||
- cargo-license
|
||||
artifacts:
|
||||
paths:
|
||||
- target/x86_64-unknown-linux-gnu/debug/arti
|
||||
|
|
Loading…
Reference in New Issue