From 93c8a8bd8b293973a764a5250336c209edbeeac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Wed, 2 Oct 2024 21:46:13 +0200 Subject: [PATCH] ci: use pinned nightly otherwise we unnecessarily install two different toolchains... --- .github/workflows/miri.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/rust.yml | 6 +++--- .github/workflows/site.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/miri.yml b/.github/workflows/miri.yml index 2029baf..5a4c732 100644 --- a/.github/workflows/miri.yml +++ b/.github/workflows/miri.yml @@ -19,7 +19,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2024-09-12 components: rust-src, miri - name: Setup Miri run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1de4d50..bb0dd0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2024-09-12 - name: Install target toolchain run: rustup target add ${{ matrix.target }} - name: Install just diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 134aa4c..6ea3b6c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,7 +17,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2024-09-12 - name: Output Rust version to file run: cargo --version > rust-version - uses: actions/cache@v4 @@ -52,7 +52,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2024-09-12 components: clippy - name: Check style uses: actions-rs/clippy-check@v1.0.7 @@ -66,7 +66,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2024-09-12 components: rustfmt - name: Check code format run: cargo fmt --all --check --verbose diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 685a8d6..b298627 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -15,7 +15,7 @@ jobs: - name: Install latest nightly uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2024-09-12 profile: minimal - name: Install Wasm target run: rustup target add wasm32-unknown-unknown