Skip to content

Commit 11b559e

Browse files
ci: Stop using actions-rs/toolchain. (#320)
The `actions-rs` actions haven't been maintained in some time and result in a number of deprecation warnings from GitHub Actions.
1 parent b4e27fa commit 11b559e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/format.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Toolchain setup
13-
uses: actions-rs/toolchain@v1
13+
uses: dtolnay/rust-toolchain@master
1414
with:
1515
toolchain: nightly
16-
override: true
1716
components: rustfmt
1817

1918
- uses: actions/checkout@v4

.github/workflows/test.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ jobs:
3838
path: ~/.cargo/bin
3939
key: ${{ runner.os }}-cargo-bin-${{ hashFiles('**/Cargo.lock') }}
4040
- name: Toolchain setup
41-
uses: actions-rs/toolchain@v1
41+
uses: dtolnay/rust-toolchain@master
4242
with:
4343
toolchain: nightly
44-
override: true
4544
components: llvm-tools-preview
4645
- name: Install grcov
4746
if: matrix.rust-version == 'nightly' && matrix.cargo-args == '--all-features'

0 commit comments

Comments
 (0)