|
22 | 22 | steps: |
23 | 23 | - uses: actions/checkout@v4 |
24 | 24 |
|
25 | | - - uses: actions-rs/toolchain@v1 |
| 25 | + - uses: dtolnay/rust-toolchain@stable |
26 | 26 | with: |
27 | | - profile: minimal |
28 | 27 | components: clippy, rustfmt |
29 | | - override: 'true' |
30 | | - default: 'true' |
31 | 28 |
|
32 | 29 | - name: Test (dev) |
33 | 30 | env: |
|
66 | 63 | steps: |
67 | 64 | - uses: actions/checkout@v4 |
68 | 65 |
|
69 | | - - uses: actions-rs/toolchain@v1.0.7 |
| 66 | + - uses: dtolnay/rust-toolchain@stable |
70 | 67 | with: |
71 | | - profile: minimal |
72 | | - target: ${{ matrix.target }} |
73 | | - override: 'true' |
74 | | - default: 'true' |
| 68 | + targets: ${{ matrix.target }} |
75 | 69 |
|
76 | 70 | - name: Build |
77 | 71 | run: cargo build --target ${{ matrix.target }} --release --all-features |
|
99 | 93 | steps: |
100 | 94 | - uses: actions/checkout@v4 |
101 | 95 |
|
102 | | - - uses: actions-rs/toolchain@v1.0.7 |
| 96 | + - uses: dtolnay/rust-toolchain@stable |
103 | 97 | with: |
104 | | - profile: minimal |
105 | | - target: ${{ matrix.target }} |
106 | | - override: 'true' |
107 | | - default: 'true' |
| 98 | + targets: ${{ matrix.target }} |
108 | 99 |
|
109 | 100 | - name: Build |
110 | 101 | run: cargo build --target ${{ matrix.target }} --release --all-features |
@@ -133,12 +124,9 @@ jobs: |
133 | 124 | steps: |
134 | 125 | - uses: actions/checkout@v4 |
135 | 126 |
|
136 | | - - uses: actions-rs/toolchain@v1.0.7 |
| 127 | + - uses: dtolnay/rust-toolchain@stable |
137 | 128 | with: |
138 | | - profile: minimal |
139 | | - target: ${{ matrix.target }} |
140 | | - override: 'true' |
141 | | - default: 'true' |
| 129 | + targets: ${{ matrix.target }} |
142 | 130 |
|
143 | 131 | - name: Build |
144 | 132 | run: cargo build --target ${{ matrix.target }} --release --all-features |
@@ -441,11 +429,7 @@ jobs: |
441 | 429 | steps: |
442 | 430 | - uses: actions/checkout@v4 |
443 | 431 |
|
444 | | - - uses: actions-rs/[email protected] |
445 | | - with: |
446 | | - profile: minimal |
447 | | - override: 'true' |
448 | | - default: 'true' |
| 432 | + - uses: dtolnay/rust-toolchain@stable |
449 | 433 |
|
450 | 434 | - name: Login |
451 | 435 | run: cargo login ${{ secrets.CRATE_AUTH_TOKEN }} |
@@ -491,12 +475,9 @@ jobs: |
491 | 475 | ${{ github.job }}-Linux-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }} |
492 | 476 | ${{ github.job }}-Linux-${{ hashFiles('rust-toolchain') }}- |
493 | 477 |
|
494 | | - - uses: actions-rs/toolchain@v1.0.7 |
| 478 | + - uses: dtolnay/rust-toolchain@stable |
495 | 479 | with: |
496 | | - profile: minimal |
497 | 480 | components: clippy |
498 | | - override: 'true' |
499 | | - default: 'true' |
500 | 481 |
|
501 | 482 | - name: Build pdu |
502 | 483 | run: | |
|
0 commit comments