Use specific Rust nightly version for CI cargo fmt (fixes #3467) (#3577)
authorNutomic <me@nutomic.com>
Wed, 12 Jul 2023 09:15:28 +0000 (11:15 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Jul 2023 09:15:28 +0000 (11:15 +0200)
* Use specific Rust nightly version for CI cargo fmt (fixes #3467)

* fix

* fix

.woodpecker.yml

index 073bc0a0baef3cc71c09477c5806d473e4d35650..4c9bf5187309513fd423a375d7249f3e91788397 100644 (file)
@@ -36,9 +36,9 @@ pipeline:
     commands:
       # need make existing toolchain available
       - cp ~/.cargo . -r
-      - rustup toolchain install nightly
-      - rustup component add rustfmt --toolchain nightly
-      - cargo +nightly fmt -- --check
+      - rustup toolchain install nightly-2023-07-10
+      - rustup component add rustfmt --toolchain nightly-2023-07-10
+      - cargo +nightly-2023-07-10 fmt -- --check
     # when:
     #   platform: linux/amd64