mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Update .gitlab-ci.yml file
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
image: rust:latest
|
||||
|
||||
cache: &rust_cache
|
||||
.rust_cache: &rust_cache
|
||||
cache: &rust_cache
|
||||
# key: $CI_COMMIT_REF_SLUG
|
||||
paths:
|
||||
# Don't include `incremental` to save space
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user