Skip to content

Commit 5ce8cb6

Browse files
committed
actions: cron: Replace actions-rs with dtolnay
Signed-off-by: Matthias Beyer <[email protected]>
1 parent e18bda2 commit 5ce8cb6

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/cron.yml

+5-15
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,12 @@ jobs:
2020
uses: actions/[email protected]
2121

2222
- name: Install toolchain
23-
uses: actions-rs/toolchain@v1
23+
uses: dtolnay/rust-toolchain@master
2424
with:
2525
toolchain: ${{ matrix.rust }}
26-
minimal: true
27-
override: true
2826

2927
- name: Run cargo check
30-
uses: actions-rs/cargo@v1
31-
with:
32-
command: check
33-
args: --all --all-features --examples
28+
run: cargo check --all --all-features --examples
3429

3530
clippy:
3631
needs: [check]
@@ -46,16 +41,11 @@ jobs:
4641
uses: actions/[email protected]
4742

4843
- name: Install toolchain
49-
uses: actions-rs/toolchain@v1
44+
uses: dtolnay/rust-toolchain@master
5045
with:
5146
toolchain: ${{ matrix.rust }}
52-
minimal: true
53-
override: true
5447
components: clippy
5548

56-
- name: Run cargo clippy
57-
uses: actions-rs/cargo@v1
58-
with:
59-
command: clippy
60-
args: --all-targets --all-features -- -D warnings
49+
- name: Run cargo check
50+
run: cargo clippy --all --all-features -- -D warnings
6151

0 commit comments

Comments
 (0)