From 844cbe0c895f526085eba72b9d9834b33c5888fa Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Wed, 11 Sep 2024 13:09:39 +0200 Subject: [PATCH] Switch to latest `nightly` toolchain Signed-off-by: Sascha Grunert --- .github/workflows/ci.yml | 10 +++------- dependencies.yaml | 6 ------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d670b36ba..fe387dfed1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,6 @@ env: CARGO_TERM_COLOR: always GO_VERSION: "1.23" ACTION_MSRV_TOOLCHAIN: 1.66.1 - # Latest available toolchain which does not break clippy and the unit tests - ACTION_MSRV_NIGHTLY_TOOLCHAIN: nightly-2024-05-19 NIX_VERSION: "2.21.0" jobs: build: @@ -233,14 +231,12 @@ jobs: - name: Select Toolchain uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: - toolchain: ${{ env['ACTION_MSRV_NIGHTLY_TOOLCHAIN'] }} + toolchain: nightly default: true override: true components: clippy, rustfmt - name: Clippy Lint - run: | - cargo +${{ env['ACTION_MSRV_NIGHTLY_TOOLCHAIN'] }} clippy \ - --all-targets --all-features -- -D warnings + run: cargo +nightly clippy --all-targets --all-features -- -D warnings vendor: runs-on: ubuntu-latest @@ -289,7 +285,7 @@ jobs: - name: Select Toolchain uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: - toolchain: ${{ env['ACTION_MSRV_NIGHTLY_TOOLCHAIN'] }} + toolchain: nightly override: true - name: Install rustfmt shell: bash diff --git a/dependencies.yaml b/dependencies.yaml index cd7204d0af..eb8ef75a13 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -18,12 +18,6 @@ dependencies: - path: .github/workflows/release.yml match: ACTION_MSRV_TOOLCHAIN - - name: rust (nightly) - version: nightly-2024-05-19 - refPaths: - - path: .github/workflows/ci.yml - match: ACTION_MSRV_NIGHTLY_TOOLCHAIN - - name: golangci-lint version: 1.60.3 refPaths: