Use the rustfmt OCI image for everything, since we now require it as a binary

parent dfdd2a71
Pipeline #56455 failed with stages
in 2 minutes and 19 seconds
# -*- indent-tabs-mode: nil -*-
variables:
# Container(OCI) images for various distros and architectures and compilers
RUSTFMT_NIGHTLY: "registry.gitlab.com/alatiera/rustfmt-oci-image/rustfmt:nightly"
stages:
- test
- lint
......@@ -36,13 +43,13 @@ stages:
nightly:test:
# https://hub.docker.com/r/rustlang/rust/
image: "rustlang/rust:nightly"
image: $RUSTFMT_NIGHTLY
<<: *cargo_test
# Configure and run rustfmt on nightly
# Exits and builds fails if on bad format
rustfmt:
image: "registry.gitlab.com/alatiera/rustfmt-oci-image/rustfmt:nightly"
image: $RUSTFMT_NIGHTLY
stage: lint
script:
- rustc -Vv && cargo -Vv
......@@ -53,7 +60,7 @@ rustfmt:
pages:
# https://hub.docker.com/r/rustlang/rust/
image: "rustlang/rust:nightly"
image: $RUSTFMT_NIGHTLY
stage: pages
script:
- mkdir -p public
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment