diff --git a/.github/workflows/cI.yml b/.github/workflows/cI.yml index 000d91f..1d84fe6 100644 --- a/.github/workflows/cI.yml +++ b/.github/workflows/cI.yml @@ -18,10 +18,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly-2024-02-01 + - name: Install nightly toolchain + uses: dtolnay/rust-toolchain@nightly components: clippy - uses: Swatinem/rust-cache@v2 with: @@ -34,10 +32,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly-2024-02-01 + - name: Install nightly toolchain + uses: dtolnay/rust-toolchain@nightly components: rustfmt - run: cargo fmt --all --check @@ -45,10 +41,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 20 steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly-2024-02-01 + - name: Install nightly toolchain + uses: dtolnay/rust-toolchain@nightly - 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"