Commit 1ea2af0b authored by Vasili Novikov's avatar Vasili Novikov
Browse files

Merge branch 'add-cargo-audit' into 'master'

Add cargo audit

See merge request memri/pod!84
parents f50bf8cf 583fcde7
Showing with 7 additions and 8 deletions
+7 -8
......@@ -16,16 +16,13 @@ variables:
# as opposed to doing it in a reproducible fashion
#
# - apt-get update -yq
# - apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -y libsqlcipher-dev buildah
# - cargo fmt --version || rustup component add rustfmt
# - cargo clippy -V || rustup component add clippy
# - apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -y libsqlcipher-dev libssl-dev pkg-config
before_script:
- rustup component add rustfmt
- rustup component add clippy
- cargo install --force cargo-audit
rustfmt:
stage: test
script:
- cargo fmt --all -- --check
test:
stage: test
cache:
......@@ -33,7 +30,9 @@ test:
- cargo/
- target/
script:
- cargo fmt --all -- --check
- cargo clippy --all-targets --all-features -- -D warnings
- cargo audit
- cargo test
pages:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment