project: use non-nightly image by default in CI
Only use the nightly features for `cargo fmt`. This avoids having the CI be red because `clippy` is not available for the nightly version that was used to run it.
This commit is contained in:
parent
31272bceac
commit
5d03df960c
|
@ -1,5 +1,5 @@
|
|||
# Official language image.
|
||||
image: 'rustlang/rust:nightly'
|
||||
image: 'rust:latest'
|
||||
|
||||
stages:
|
||||
- lint
|
||||
|
@ -10,6 +10,8 @@ variables:
|
|||
APT_CACHE_DIR: $CI_PROJECT_DIR/apt
|
||||
|
||||
lint:fmt:
|
||||
# Nightly image for formatting configuration
|
||||
image: 'rustlang/rust:nightly'
|
||||
stage: lint
|
||||
before_script:
|
||||
- rustup component add rustfmt
|
||||
|
|
Loading…
Reference in a new issue