From ab1658590e56312497ca3d4e4cc7cca17126f89a Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 18 Apr 2024 13:32:33 +0100 Subject: [PATCH] Revert the CI changes (#17) * Update cI.yml * Update rust-toolchain.toml * Rename cI.yml to ci.yml --- .github/workflows/{cI.yml => ci.yml} | 10 +++------- rust-toolchain.toml | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) rename .github/workflows/{cI.yml => ci.yml} (78%) diff --git a/.github/workflows/cI.yml b/.github/workflows/ci.yml similarity index 78% rename from .github/workflows/cI.yml rename to .github/workflows/ci.yml index 000d91f..ada4d59 100644 --- a/.github/workflows/cI.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,8 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@nightly with: - toolchain: nightly-2024-02-01 components: clippy - uses: Swatinem/rust-cache@v2 with: @@ -35,9 +34,8 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@nightly with: - toolchain: nightly-2024-02-01 components: rustfmt - run: cargo fmt --all --check @@ -46,9 +44,7 @@ jobs: timeout-minutes: 20 steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly-2024-02-01 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 78c155a..5d56faf 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2024-02-01" +channel = "nightly"