|
34 | 34 | steps:
|
35 | 35 | - uses: actions/checkout@v3
|
36 | 36 |
|
37 |
| - - name: install rust |
38 |
| - uses: actions-rs/[email protected] |
| 37 | + - name: install rust nightly |
| 38 | + if: matrix.rust-toolchain == 'nightly' |
| 39 | + uses: actions-rs/toolchain@v1 |
| 40 | + with: |
| 41 | + # use the default version from rust-toolchain in case rust in pinned there |
| 42 | + profile: minimal |
| 43 | + |
| 44 | + - name: install rust stable |
| 45 | + if: matrix.rust-toolchain != 'nightly' |
| 46 | + uses: actions-rs/toolchain@v1 |
39 | 47 | with:
|
40 | 48 | profile: minimal
|
41 | 49 | toolchain: ${{ matrix.rust-toolchain }}
|
|
86 | 94 | - run: ./tests/rust_coverage_export.sh
|
87 | 95 |
|
88 | 96 | - uses: codecov/codecov-action@v2
|
89 |
| - if: matrix.rust-toolchain == 'nightly' |
| 97 | + if: matrix.rust-toolchain == 'nightly-2022-07-01' |
90 | 98 | with:
|
91 | 99 | env_vars: PYTHON
|
92 | 100 |
|
|
97 | 105 | - uses: actions/checkout@v3
|
98 | 106 |
|
99 | 107 | - name: install rust
|
100 |
| - uses: actions-rs/toolchain@v1.0.6 |
| 108 | + uses: actions-rs/toolchain@v1 |
101 | 109 | with:
|
102 | 110 | profile: minimal
|
103 | 111 | override: true
|
@@ -140,7 +148,7 @@ jobs:
|
140 | 148 | - uses: actions/checkout@v3
|
141 | 149 |
|
142 | 150 | - name: install rust
|
143 |
| - uses: actions-rs/toolchain@v1.0.6 |
| 151 | + uses: actions-rs/toolchain@v1 |
144 | 152 | with:
|
145 | 153 | profile: minimal
|
146 | 154 |
|
@@ -179,10 +187,8 @@ jobs:
|
179 | 187 | - uses: actions-rs/toolchain@v1
|
180 | 188 | with:
|
181 | 189 | profile: minimal
|
182 |
| - toolchain: nightly |
183 | 190 | components: rust-src
|
184 | 191 | target: wasm32-unknown-emscripten
|
185 |
| - override: true |
186 | 192 |
|
187 | 193 | - name: cache rust
|
188 | 194 | uses: Swatinem/rust-cache@v1
|
|
0 commit comments