|
17 | 17 | runs-on: ubuntu-latest
|
18 | 18 | steps:
|
19 | 19 | - uses: actions/checkout@v4
|
20 |
| - |
21 |
| - - name: Install stable toolchain |
22 |
| - uses: actions-rs/toolchain@v1 |
23 |
| - with: |
24 |
| - profile: minimal |
25 |
| - toolchain: stable |
26 |
| - override: true |
| 20 | + - uses: dtolnay/rust-toolchain@stable |
27 | 21 |
|
28 | 22 | - name: Run cargo check
|
29 | 23 | uses: actions-rs/cargo@v1
|
|
35 | 29 | runs-on: ubuntu-latest
|
36 | 30 | steps:
|
37 | 31 | - uses: actions/checkout@v4
|
38 |
| - |
39 |
| - - name: Install stable toolchain |
40 |
| - uses: actions-rs/toolchain@v1 |
41 |
| - with: |
42 |
| - profile: minimal |
43 |
| - toolchain: stable |
44 |
| - override: true |
| 32 | + - uses: dtolnay/rust-toolchain@stable |
45 | 33 |
|
46 | 34 | - name: Run cargo test
|
47 | 35 | uses: actions-rs/cargo@v1
|
|
53 | 41 | runs-on: ubuntu-latest
|
54 | 42 | steps:
|
55 | 43 | - uses: actions/checkout@v4
|
56 |
| - |
57 |
| - - name: Install nightly toolchain |
58 |
| - uses: actions-rs/toolchain@v1 |
59 |
| - with: |
60 |
| - profile: minimal |
61 |
| - toolchain: nightly |
62 |
| - override: true |
| 44 | + - uses: dtolnay/rust-toolchain@nightly |
63 | 45 |
|
64 | 46 | - name: Run cargo test --features unstable
|
65 | 47 | uses: actions-rs/cargo@v1
|
|
72 | 54 | runs-on: ubuntu-latest
|
73 | 55 | steps:
|
74 | 56 | - uses: actions/checkout@v4
|
75 |
| - |
76 |
| - - name: Install nightly toolchain |
77 |
| - uses: actions-rs/toolchain@v1 |
78 |
| - with: |
79 |
| - profile: minimal |
80 |
| - toolchain: nightly |
81 |
| - override: true |
| 57 | + - uses: dtolnay/rust-toolchain@nightly |
82 | 58 |
|
83 | 59 | - name: Run cargo test --features very_unstable
|
84 | 60 | uses: actions-rs/cargo@v1
|
|
92 | 68 | runs-on: ubuntu-latest
|
93 | 69 | steps:
|
94 | 70 | - uses: actions/checkout@v4
|
95 |
| - |
96 |
| - - name: Install stable toolchain |
97 |
| - uses: actions-rs/toolchain@v1 |
| 71 | + - uses: dtolnay/rust-toolchain@stable |
98 | 72 | with:
|
99 |
| - profile: minimal |
100 |
| - toolchain: stable |
101 |
| - override: true |
102 |
| - components: rustfmt, clippy |
| 73 | + components: clippy, rustfmt |
103 | 74 |
|
104 | 75 | - name: Run cargo fmt
|
105 | 76 | uses: actions-rs/cargo@v1
|
|
0 commit comments