From 5d03df960c4736c52402dc9c6de2b0207b0dc7d9 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 16 Mar 2020 16:26:51 +0100 Subject: [PATCH] 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. --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4689fbe..ec7e02c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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