Commit 79a17b95 authored by Arthur Carlsson's avatar Arthur Carlsson

Tweaked gitlab ci to use latest Rust

parent 042623f5
Pipeline #25429623 passed with stage
in 2 minutes and 8 seconds
......@@ -12,8 +12,7 @@ variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo
before_script:
- rustup install nightly
- cargo +nightly install rustfmt-nightly --force
- rustup component add rustfmt-preview
# Use cargo to test the project
test:cargo:
......@@ -23,5 +22,5 @@ test:cargo:
- cargo/
script:
- rustc --version && cargo --version # Print version info for debugging
- cargo +nightly fmt -- --write-mode=diff # Make sure format is OK
- cargo fmt -- --write-mode=diff # Make sure format is OK
- cargo test --verbose --jobs 1 --release # Don't paralize to make errors more readable
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