Unverified Commit 122573f8 authored by Denis_P's avatar Denis_P 👙 Committed by GitHub

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
parent efdc5a39
Pipeline #83123 failed with stages
in 8 minutes and 31 seconds
...@@ -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 +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 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 +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 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 +nightly-2020-02-01 clippy --verbose --manifest-path ${example}/Cargo.toml -- -D warnings; cargo 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 +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 done
examples-contract-build: examples-contract-build:
...@@ -227,7 +227,7 @@ publish-docs: ...@@ -227,7 +227,7 @@ publish-docs:
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
- git fetch origin gh-pages - git fetch origin gh-pages
# Generating Docs # 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 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 -p ink_primitives -p ink_prelude -p ink_lang -p ink_lang_macro
# saving README and docs # saving README and docs
......
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