From 122573f8a28fe2b7d66009d0ad06f0b4357946af Mon Sep 17 00:00:00 2001 From: Denis Pisarev Date: Mon, 16 Mar 2020 22:50:24 +0100 Subject: [PATCH] Reworkaround clippy bug (#349) * test documentation for all crates * remove exact version * oops * exact nightly version is being set as default in the docker image, no need to mention it everywhere --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5bd50cd6..00fe0c26 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -124,7 +124,7 @@ clippy-std: - check-std script: - for crate in ${ALL_CRATES}; do - cargo +nightly-2020-02-01 clippy --verbose --all-features --manifest-path ${crate}/Cargo.toml -- -D warnings; + cargo clippy --verbose --all-features --manifest-path ${crate}/Cargo.toml -- -D warnings; done clippy-wasm: @@ -134,7 +134,7 @@ clippy-wasm: - check-wasm script: - for crate in ${ALL_CRATES}; do - cargo +nightly-2020-02-01 clippy --verbose --no-default-features --manifest-path ${crate}/Cargo.toml --target wasm32-unknown-unknown -- -D warnings; + cargo clippy --verbose --no-default-features --manifest-path ${crate}/Cargo.toml --target wasm32-unknown-unknown -- -D warnings; done fmt: @@ -172,7 +172,7 @@ examples-clippy-std: <<: *docker-env script: - for example in examples/*/; do - cargo +nightly-2020-02-01 clippy --verbose --manifest-path ${example}/Cargo.toml -- -D warnings; + cargo clippy --verbose --manifest-path ${example}/Cargo.toml -- -D warnings; done examples-clippy-wasm: @@ -180,7 +180,7 @@ examples-clippy-wasm: <<: *docker-env script: - for example in examples/*/; do - cargo +nightly-2020-02-01 clippy --verbose --manifest-path ${example}/Cargo.toml --no-default-features --target wasm32-unknown-unknown -- -D warnings; + cargo clippy --verbose --manifest-path ${example}/Cargo.toml --no-default-features --target wasm32-unknown-unknown -- -D warnings; done examples-contract-build: @@ -227,7 +227,7 @@ publish-docs: - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" - git fetch origin gh-pages # Generating Docs - - time cargo +nightly doc --no-deps --all-features + - time cargo doc --no-deps --all-features -p type-metadata -p ink_abi -p ink_abi_derive -p ink_core -p ink_core_derive -p ink_primitives -p ink_prelude -p ink_lang -p ink_lang_macro # saving README and docs -- GitLab