Update .gitlab-ci.yml file

This commit is contained in:
Luke Jones
2023-01-16 01:59:50 +00:00
parent 7eab94bc7f
commit bcba11d4ec

View File

@@ -1,5 +1,6 @@
image: rust:latest
.rust_cache: &rust_cache
cache: &rust_cache
# key: $CI_COMMIT_REF_SLUG
paths:
@@ -28,7 +29,6 @@ stages:
format:
except:
- tags
cache:
<<: *rust_cache
script:
- echo "nightly" > rust-toolchain
@@ -38,7 +38,6 @@ format:
check:
except:
- tags
cache:
<<: *rust_cache
script:
- rustup component add clippy
@@ -50,7 +49,6 @@ check:
test:
except:
- tags
cache:
<<: *rust_cache
script:
- cargo test
@@ -58,7 +56,6 @@ test:
release:
only:
- tags
cache:
<<: *rust_cache
script:
- make && make vendor
@@ -71,7 +68,6 @@ pages:
stage: deploy
only:
- tags
cache:
<<: *rust_cache
script:
- cargo doc --document-private-items --no-deps --workspace