|
54 | 54 | if: github.event_name == 'push' || github.event_name == 'schedule' || github.event.pull_request.head.repo.full_name != github.repository |
55 | 55 | strategy: |
56 | 56 | matrix: |
57 | | - rust: [stable, nightly, "1.85"] # 1.85 is the MSRV |
| 57 | + # nightly was pinned because of a compiler bug: |
| 58 | + # https://github.com/rust-lang/rust/issues/145288 |
| 59 | + # TODO: remove the pinning once the bug is fixed |
| 60 | + rust: [stable, nightly-2025-08-11, "1.85"] # 1.85 is the MSRV |
58 | 61 | os: [ubuntu-latest, macos-latest, windows-latest] |
59 | 62 |
|
60 | 63 | name: Build & test |
@@ -141,7 +144,7 @@ jobs: |
141 | 144 | uses: dtolnay/rust-toolchain@master |
142 | 145 | with: |
143 | 146 | # cot_macros ui tests require nightly |
144 | | - toolchain: nightly |
| 147 | + toolchain: nightly-2025-08-11 |
145 | 148 |
|
146 | 149 | - name: Cache Cargo registry |
147 | 150 | uses: Swatinem/rust-cache@v2 |
@@ -187,7 +190,7 @@ jobs: |
187 | 190 | uses: dtolnay/rust-toolchain@master |
188 | 191 | with: |
189 | 192 | # branch coverage is currently optional and requires nightly |
190 | | - toolchain: nightly |
| 193 | + toolchain: nightly-2025-08-11 |
191 | 194 | components: llvm-tools-preview |
192 | 195 |
|
193 | 196 | - name: Reclaim disk space |
@@ -240,7 +243,7 @@ jobs: |
240 | 243 | uses: dtolnay/rust-toolchain@master |
241 | 244 | with: |
242 | 245 | # nightly-only rustfmt settings |
243 | | - toolchain: nightly |
| 246 | + toolchain: nightly-2025-08-11 |
244 | 247 | components: rustfmt |
245 | 248 |
|
246 | 249 | - name: Cache Cargo registry |
@@ -291,7 +294,7 @@ jobs: |
291 | 294 | uses: dtolnay/rust-toolchain@master |
292 | 295 | with: |
293 | 296 | # the `-Z` flag is only accepted on the nightly channel of Cargo |
294 | | - toolchain: nightly |
| 297 | + toolchain: nightly-2025-08-11 |
295 | 298 |
|
296 | 299 | - name: Cache Cargo registry |
297 | 300 | uses: Swatinem/rust-cache@v2 |
@@ -360,7 +363,7 @@ jobs: |
360 | 363 | uses: dtolnay/rust-toolchain@master |
361 | 364 | with: |
362 | 365 | # miri requires nightly |
363 | | - toolchain: nightly |
| 366 | + toolchain: nightly-2025-08-11 |
364 | 367 | components: miri |
365 | 368 |
|
366 | 369 | - name: Cache Cargo registry |
|
0 commit comments