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