diff --git a/polkadot/scripts/ci/gitlab/pipeline/build.yml b/polkadot/scripts/ci/gitlab/pipeline/build.yml index 201b76afe79ba331c891be7b680ed79ece9d781d..6d7c3cc35df806b5dcbfce8625eb1c53da809e04 100644 --- a/polkadot/scripts/ci/gitlab/pipeline/build.yml +++ b/polkadot/scripts/ci/gitlab/pipeline/build.yml @@ -129,7 +129,7 @@ build-rustdoc: script: # FIXME: it fails with `RUSTDOCFLAGS="-Dwarnings"` and `--all-features` # FIXME: return to stable when https://github.com/rust-lang/rust/issues/96937 gets into stable - - time cargo +nightly doc --workspace --verbose --no-deps + - time cargo doc --workspace --verbose --no-deps - rm -f ./target/doc/.lock - mv ./target/doc ./crate-docs # FIXME: remove me after CI image gets nonroot @@ -169,6 +169,6 @@ build-short-benchmark: - .test-refs - .collect-artifacts script: - - cargo +nightly build --profile release --locked --features=runtime-benchmarks + - cargo build --profile release --locked --features=runtime-benchmarks - mkdir artifacts - cp ./target/release/polkadot ./artifacts/ diff --git a/polkadot/scripts/ci/gitlab/pipeline/test.yml b/polkadot/scripts/ci/gitlab/pipeline/test.yml index 31224a6d1cadc72879f21c7d61612ea12be3f055..6420216111ce16502b19e62894a84dfb2b691047 100644 --- a/polkadot/scripts/ci/gitlab/pipeline/test.yml +++ b/polkadot/scripts/ci/gitlab/pipeline/test.yml @@ -99,10 +99,8 @@ cargo-clippy: needs: - job: job-starter artifacts: false - variables: - RUSTY_CACHIER_TOOLCHAIN: nightly extends: - .docker-env - .test-refs script: - - SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo +nightly clippy --all-targets + - SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo clippy --all-targets