Commit 5f2a0459 authored by Éloïs's avatar Éloïs

[ci] fix fmt require rust nightly image

parent eff50ab7
Pipeline #3648 failed with stages
in 3 minutes and 24 seconds
......@@ -15,12 +15,20 @@ variables:
- export PATH="$HOME/.cargo/bin:$PATH"
- rustc --version && cargo --version
.rust_nightly_lin64: &rust_nightly_lin64
image: rustlang/rust:nightly
tags:
- redshift-rs-nightly
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
- rustc --version && cargo --version
fmt:
<<: *rust_stable_wasm
<<: *rust_nightly_lin64
stage: fmt
before_script:
- rustup show
- rustup component add rustfmt-preview
- rustup component add rustfmt-preview --toolchain nightly
- cargo fmt -- --version
script:
- cargo fmt -- --check
......
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