mirror of https://github.com/LemmyNet/lemmy.git
* Use specific Rust nightly version for CI cargo fmt (fixes #3467) * fix * fixpull/3599/head
parent
1d38aad9d3
commit
c060546ffa
|
@ -36,9 +36,9 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
# need make existing toolchain available
|
# need make existing toolchain available
|
||||||
- cp ~/.cargo . -r
|
- cp ~/.cargo . -r
|
||||||
- rustup toolchain install nightly
|
- rustup toolchain install nightly-2023-07-10
|
||||||
- rustup component add rustfmt --toolchain nightly
|
- rustup component add rustfmt --toolchain nightly-2023-07-10
|
||||||
- cargo +nightly fmt -- --check
|
- cargo +nightly-2023-07-10 fmt -- --check
|
||||||
# when:
|
# when:
|
||||||
# platform: linux/amd64
|
# platform: linux/amd64
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue