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
|
- rustup show
|
||||||
- cargo clippy --all-features --all-targets -- -D warnings
|
- cargo clippy --all-features --all-targets -- -D warnings
|
||||||
- cargo fmt -- --check
|
- 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
|
- cp cargo-audit $CARGO_HOME/bin/ || cargo install cargo-audit
|
||||||
- ./maint/cargo_audit
|
- ./maint/cargo_audit
|
||||||
- cp $CARGO_HOME/bin/cargo-audit .
|
- cp $CARGO_HOME/bin/cargo-audit .
|
||||||
|
@ -50,6 +52,7 @@ rust-latest:
|
||||||
paths:
|
paths:
|
||||||
- cargo-audit
|
- cargo-audit
|
||||||
- cargo-sort
|
- cargo-sort
|
||||||
|
- cargo-license
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- target/x86_64-unknown-linux-gnu/debug/arti
|
- target/x86_64-unknown-linux-gnu/debug/arti
|
||||||
|
|
Loading…
Reference in New Issue