Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
use stable rust toolchain in ci
Browse files Browse the repository at this point in the history
cargo-fmt stays on the nightly pipeline; our fmt config uses a heap of
unstable features.
  • Loading branch information
Mira Ressel committed Apr 11, 2023
1 parent cea4f8a commit ecad912
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/gitlab/pipeline/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
4 changes: 1 addition & 3 deletions scripts/ci/gitlab/pipeline/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ecad912

Please sign in to comment.