Unverified Commit 3bc5b75c authored by Denis_P's avatar Denis_P 🏑 Committed by GitHub
Browse files

Workaround a clippy bug (#324)

* ineffective as a lasersight on a shotgun; but makes clippy work

* toolchain is mentioned in the cmd
parent fe9f0a94
Pipeline #80005 failed with stages
in 5 minutes
...@@ -124,7 +124,7 @@ clippy-std: ...@@ -124,7 +124,7 @@ clippy-std:
- check-std - check-std
script: script:
- for crate in ${ALL_CRATES}; do - for crate in ${ALL_CRATES}; do
cargo clippy --verbose --all-features --manifest-path ${crate}/Cargo.toml -- -D warnings; cargo +nightly-2020-02-01 clippy --verbose --all-features --manifest-path ${crate}/Cargo.toml -- -D warnings;
done done
clippy-wasm: clippy-wasm:
...@@ -134,7 +134,7 @@ clippy-wasm: ...@@ -134,7 +134,7 @@ clippy-wasm:
- check-wasm - check-wasm
script: script:
- for crate in ${ALL_CRATES}; do - for crate in ${ALL_CRATES}; do
cargo clippy --verbose --no-default-features --manifest-path ${crate}/Cargo.toml --target wasm32-unknown-unknown -- -D warnings; cargo +nightly-2020-02-01 clippy --verbose --no-default-features --manifest-path ${crate}/Cargo.toml --target wasm32-unknown-unknown -- -D warnings;
done done
fmt: fmt:
...@@ -172,7 +172,7 @@ examples-clippy-std: ...@@ -172,7 +172,7 @@ examples-clippy-std:
<<: *docker-env <<: *docker-env
script: script:
- for example in examples/*/; do - for example in examples/*/; do
cargo clippy --verbose --manifest-path ${example}/Cargo.toml -- -D warnings; cargo +nightly-2020-02-01 clippy --verbose --manifest-path ${example}/Cargo.toml -- -D warnings;
done done
examples-clippy-wasm: examples-clippy-wasm:
...@@ -180,7 +180,7 @@ examples-clippy-wasm: ...@@ -180,7 +180,7 @@ examples-clippy-wasm:
<<: *docker-env <<: *docker-env
script: script:
- for example in examples/*/; do - for example in examples/*/; do
cargo clippy --verbose --manifest-path ${example}/Cargo.toml --no-default-features --target wasm32-unknown-unknown -- -D warnings; cargo +nightly-2020-02-01 clippy --verbose --manifest-path ${example}/Cargo.toml --no-default-features --target wasm32-unknown-unknown -- -D warnings;
done done
examples-contract-build: examples-contract-build:
......
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