Skip to content
Snippets Groups Projects
Verified Commit d3dd0262 authored by Louis's avatar Louis :fire:
Browse files

Install rustup at start of CI script

parent 07dce8d6
No related branches found
No related tags found
No related merge requests found
Pipeline #631 failed with stage
in 4 seconds
......@@ -15,12 +15,12 @@ variables:
CARGO_HOME: ${CI_PROJECT_DIR}/.cargo
before_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable
- rustup toolchain install nightly
lint:
stage: test
script:
- rustup component add rustfmt clippy
- cargo fmt --all --check
- cargo clippy -- -D warnings
cache:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment