File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 toolchain : ${{ matrix.rust }}
3636 - uses : Swatinem/rust-cache@v2
3737 with :
38- shared-key : ci-test-${{ matrix.os }}-${{ matrix.rust }}
39- cache-workspace-crates : " true"
38+ shared-key : cargo-${{ matrix.os }}-${{ matrix.rust }}
4039 - name : Build
4140 run : cargo build
4241 - name : Cargo Test
5857 components : clippy
5958 - uses : Swatinem/rust-cache@v2
6059 with :
61- shared-key : ci-clippy-${{ runner.os }}-stable
62- cache-workspace-crates : " true"
60+ shared-key : cargo-${{ runner.os }}-stable
6361 - run : cargo clippy
6462
6563 unused-deps :
7068 - uses : dtolnay/rust-toolchain@stable
7169 with :
7270 toolchain : stable
73- - uses : Swatinem/rust-cache@v2
74- with :
75- shared-key : ci-unused-deps-${{ runner.os }}-stable
76- cache-workspace-crates : " true"
7771 - name : Install machete
7872 run : cargo install cargo-machete
7973 - name : Check for unused dependencies
Original file line number Diff line number Diff line change 3333 toolchain : stable
3434 - uses : Swatinem/rust-cache@v2
3535 with :
36- shared-key : cli-regression-${{ matrix.target }}-stable
37- cache-workspace-crates : " true"
36+ shared-key : cargo-${{ runner.os }}-stable
3837 - name : Restore CLI regression golden binary
3938 uses : actions/cache/restore@v5
4039 with :
Original file line number Diff line number Diff line change 5959 if : ${{ !matrix.container }}
6060 with :
6161 toolchain : stable
62- - uses : Swatinem/rust-cache@v2
63- with :
64- shared-key : release-build-${{ matrix.target }}
65- cache-workspace-crates : " true"
6662 - name : Build (release)
6763 run : cargo build --release
6864 - name : Prepare CLI regression golden binary
You can’t perform that action at this time.
0 commit comments