Skip to content

Commit e8d94e9

Browse files
bors[bot]jannic
andauthored
Merge #439
439: Use github action dtolnay/rust-toolchain@master instead of actions-rs r=Dirbaio a=jannic actions-rs/toolchain@v1 uses deprecated features and has not been updated for years Co-authored-by: Jan Niehusmann <[email protected]>
2 parents ef20420 + 9e4d479 commit e8d94e9

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/clippy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ jobs:
88
clippy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions-rs/toolchain@v1
11+
- uses: actions/checkout@v3
12+
- uses: dtolnay/rust-toolchain@master
1313
with:
14-
profile: minimal
1514
# embedded-hal-async needs nightly.
1615
# Use a pinned version to avoid spontaneous breakages (new clippy lints are added often)
1716
toolchain: nightly-2022-11-22
18-
override: true
1917
components: clippy
2018
- run: cargo clippy -- --deny=warnings

.github/workflows/rustfmt.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ jobs:
99
fmt:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions-rs/toolchain@v1
12+
- uses: actions/checkout@v3
13+
- uses: dtolnay/rust-toolchain@master
1414
with:
15-
profile: minimal
1615
toolchain: nightly
17-
override: true
1816
components: rustfmt
1917
- run: cargo fmt --check

.github/workflows/test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@ jobs:
2626
- thumbv7m-none-eabi
2727

2828
steps:
29-
- uses: actions/checkout@v2
30-
- uses: actions-rs/toolchain@v1
29+
- uses: actions/checkout@v3
30+
- uses: dtolnay/rust-toolchain@master
3131
with:
32-
profile: minimal
3332
toolchain: ${{ matrix.rust }}
3433
target: ${{ matrix.target }}
35-
override: true
3634

3735
- run: sed -i '/nightly-only/d' Cargo.toml
3836
if: matrix.rust != 'nightly'

0 commit comments

Comments
 (0)