Skip to content

Commit

Permalink
Switch to latest nightly toolchain
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Sep 11, 2024
1 parent e4c0d53 commit 844cbe0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 844cbe0

Please sign in to comment.