use stable rust toolchain in ci (#13830)

cargo-fmt stays on the nightly pipeline; our fmt config uses a heap of
unstable features.
This commit is contained in:
Mira Ressel
2023-04-11 17:02:50 +02:00
committed by GitHub
parent 6d93d7bb7f
commit 4e32ae1fbe
2 changed files with 10 additions and 20 deletions
@@ -148,7 +148,6 @@ build-rustdoc:
variables:
SKIP_WASM_BUILD: 1
DOC_INDEX_PAGE: "sc_service/index.html" # default redirected page
RUSTY_CACHIER_TOOLCHAIN: nightly
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
CARGO_TARGET_DIR: "$CI_PROJECT_DIR/target"
artifacts:
@@ -163,7 +162,7 @@ build-rustdoc:
artifacts: false
script:
- rusty-cachier snapshot create
- time cargo +nightly doc --locked --workspace --all-features --verbose --no-deps
- time cargo doc --locked --workspace --all-features --verbose --no-deps
- rm -f $CARGO_TARGET_DIR/doc/.lock
- mv $CARGO_TARGET_DIR/doc ./crate-docs
# FIXME: remove me after CI image gets nonroot