File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,32 @@ jobs:
4343 - macos-latest
4444 - windows-latest
4545 rust :
46- - ' 1.86'
47- - ' 1.87'
48- - ' 1.88'
49- - ' 1.89'
50- - ' 1.90'
46+ - " 1.86"
47+ - " 1.87"
48+ - " 1.88"
49+ - " 1.89"
50+ - " 1.90"
5151 - stable
5252 - beta
5353 - nightly
54+ rustc_bootstrap :
55+ - " 0"
56+ - " 1"
57+ exclude :
58+ # bootstrap is only relevant for non-nightly toolchains
59+ - os : ubuntu-latest
60+ rust : nightly
61+ rustc_bootstrap : " 0"
62+ - os : macos-latest
63+ rust : nightly
64+ rustc_bootstrap : " 0"
65+ - os : windows-latest
66+ rust : nightly
67+ rustc_bootstrap : " 0"
5468 runs-on : ${{ matrix.os }}
5569 env :
5670 RUSTFLAGS : " -D warnings"
71+ RUSTC_BOOTSTRAP : ${{ matrix.rustc_bootstrap }}
5772 steps :
5873 - name : Checkout
5974 uses : actions/checkout@v4
6378 with :
6479 toolchain : ${{ matrix.rust }}
6580 components : clippy
66- cache-shared-key : ${{ matrix.os }}-${{ matrix.rust }}
81+ cache-shared-key : ${{ matrix.os }}-${{ matrix.rust }}${{ matrix.rust != 'nightly' && format('-bootstrap-%s', matrix.rustc_bootstrap) || '' }}
6782
6883 - name : Fetch cargo dependencies
6984 run : cargo fetch --verbose --locked
You can’t perform that action at this time.
0 commit comments