From c060546ffa96b61e25d163bc9113d23ed90b7a49 Mon Sep 17 00:00:00 2001
From: Nutomic <me@nutomic.com>
Date: Wed, 12 Jul 2023 11:15:28 +0200
Subject: [PATCH] Use specific Rust nightly version for CI cargo fmt (fixes
 #3467) (#3577)

* Use specific Rust nightly version for CI cargo fmt (fixes #3467)

* fix

* fix
---
 .woodpecker.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.woodpecker.yml b/.woodpecker.yml
index 073bc0a0b..4c9bf5187 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -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
 
-- 
GitLab