Skip to content
Snippets Groups Projects
Commit d2246fa1 authored by Éloïs's avatar Éloïs Committed by Éloïs
Browse files

[fix] #61 pass-fmt-job-to-stable-version

parent 93d4012d
No related branches found
No related tags found
No related merge requests found
stages:
- build_and_tests
- clippy
- fmt
- clippy
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
......@@ -33,26 +33,23 @@ build_and_tests:nightly:
when: manual
allow_failure: true
clippy:
stage: clippy
image: rustlang/rust:nightly
fmt:
stage: fmt
tags:
- redshift-rs-nightly
- redshift-rs-stable
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
- cargo install --force clippy --verbose
script:
- cargo clippy --all -- -D warnings --verbose
allow_failure: true
- cargo fmt --all -- --write-mode=diff
fmt:
stage: fmt
clippy:
stage: clippy
image: rustlang/rust:nightly
tags:
- redshift-rs-nightly
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
- cargo install --force rustfmt-nightly
- cargo install --force clippy --verbose
script:
- cargo fmt -- --write-mode=diff
- cargo clippy --all -- -D warnings --verbose
allow_failure: true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment