File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1717 ]
1818 steps :
1919 - uses : actions/checkout@v4
20+ - uses : actions/cache@v4
21+ if : startsWith(matrix.rust, '1')
22+ with :
23+ path : ~/.cargo/registry/index
24+ key : cargo-${{ matrix.rust }}-git-index
2025 - uses : dtolnay/rust-toolchain@master
2126 with :
2227 toolchain : ${{ matrix.rust }}
4045 runs-on : ubuntu-latest
4146 steps :
4247 - uses : actions/checkout@v4
48+ - uses : actions/cache@v4
49+ with :
50+ path : ~/.cargo/registry/index
51+ key : cargo-1.31.0-git-index
4352 - uses : dtolnay/rust-toolchain@1.31.0
4453 with :
4554 target : thumbv6m-none-eabi
Original file line number Diff line number Diff line change 1616 rust : [1.31.0, stable]
1717 steps :
1818 - uses : actions/checkout@v4
19+ - uses : actions/cache@v4
20+ if : startsWith(matrix.rust, '1')
21+ with :
22+ path : ~/.cargo/registry/index
23+ key : cargo-${{ matrix.rust }}-git-index
1924 - uses : dtolnay/rust-toolchain@master
2025 with :
2126 toolchain : ${{ matrix.rust }}
Original file line number Diff line number Diff line change 1212 rust : [1.31.0, stable]
1313 steps :
1414 - uses : actions/checkout@v4
15+ - uses : actions/cache@v4
16+ if : startsWith(matrix.rust, '1')
17+ with :
18+ path : ~/.cargo/registry/index
19+ key : cargo-${{ matrix.rust }}-git-index
1520 - uses : dtolnay/rust-toolchain@master
1621 with :
1722 toolchain : ${{ matrix.rust }}
You can’t perform that action at this time.
0 commit comments