|
22 | 22 | steps: |
23 | 23 | - uses: actions/checkout@v4 |
24 | 24 |
|
25 | | - - uses: dtolnay/rust-toolchain@stable |
26 | | - with: |
27 | | - components: clippy, rustfmt |
| 25 | + - name: Install Rust |
| 26 | + run: | |
| 27 | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup |
| 28 | + chmod +x /tmp/install-rustup |
| 29 | + /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y |
28 | 30 |
|
29 | 31 | - name: Test (dev) |
30 | 32 | env: |
|
63 | 65 | steps: |
64 | 66 | - uses: actions/checkout@v4 |
65 | 67 |
|
66 | | - - uses: dtolnay/rust-toolchain@stable |
| 68 | + - name: Install Rust |
| 69 | + run: | |
| 70 | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup |
| 71 | + chmod +x /tmp/install-rustup |
| 72 | + /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y |
67 | 73 |
|
68 | 74 | - name: Install compilation target |
69 | 75 | run: rustup target add ${{ matrix.target }} |
@@ -95,7 +101,11 @@ jobs: |
95 | 101 | steps: |
96 | 102 | - uses: actions/checkout@v4 |
97 | 103 |
|
98 | | - - uses: dtolnay/rust-toolchain@stable |
| 104 | + - name: Install Rust |
| 105 | + run: | |
| 106 | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup |
| 107 | + chmod +x /tmp/install-rustup |
| 108 | + /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y |
99 | 109 |
|
100 | 110 | - name: Install compilation target |
101 | 111 | run: rustup target add ${{ matrix.target }} |
@@ -127,7 +137,11 @@ jobs: |
127 | 137 | steps: |
128 | 138 | - uses: actions/checkout@v4 |
129 | 139 |
|
130 | | - - uses: dtolnay/rust-toolchain@stable |
| 140 | + - name: Install Rust |
| 141 | + run: | |
| 142 | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup |
| 143 | + chmod +x /tmp/install-rustup |
| 144 | + /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y |
131 | 145 |
|
132 | 146 | - name: Install compilation target |
133 | 147 | run: rustup target add ${{ matrix.target }} |
@@ -378,7 +392,11 @@ jobs: |
378 | 392 | steps: |
379 | 393 | - uses: actions/checkout@v4 |
380 | 394 |
|
381 | | - - uses: dtolnay/rust-toolchain@stable |
| 395 | + - name: Install Rust |
| 396 | + run: | |
| 397 | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup |
| 398 | + chmod +x /tmp/install-rustup |
| 399 | + /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y |
382 | 400 |
|
383 | 401 | - name: Login |
384 | 402 | run: cargo login ${{ secrets.CRATE_AUTH_TOKEN }} |
@@ -423,9 +441,11 @@ jobs: |
423 | 441 | ${{ github.job }}-Linux-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }} |
424 | 442 | ${{ github.job }}-Linux-${{ hashFiles('rust-toolchain') }}- |
425 | 443 |
|
426 | | - - uses: dtolnay/rust-toolchain@stable |
427 | | - with: |
428 | | - components: clippy |
| 444 | + - name: Install Rust |
| 445 | + run: | |
| 446 | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/install-rustup |
| 447 | + chmod +x /tmp/install-rustup |
| 448 | + /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y |
429 | 449 |
|
430 | 450 | - name: Build pdu |
431 | 451 | run: | |
|
0 commit comments