Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Kosztka
Pod
Commits
1ea2af0b
Commit
1ea2af0b
authored
4 years ago
by
Vasili Novikov
Browse files
Options
Download
Plain Diff
Merge branch 'add-cargo-audit' into 'master'
Add cargo audit See merge request
memri/pod!84
parents
f50bf8cf
583fcde7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-8
.gitlab-ci.yml
with
7 additions
and
8 deletions
+7
-8
.gitlab-ci.yml
+
7
-
8
View file @
1ea2af0b
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets