try (cause I don't know if it works) caching in GitHub Actions
This commit is contained in:
1
.github/workflows/build-and-test.yml
vendored
1
.github/workflows/build-and-test.yml
vendored
@@ -23,6 +23,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
- uses: taiki-e/install-action@cargo-hack
|
- uses: taiki-e/install-action@cargo-hack
|
||||||
- run: cargo hack check --feature-powerset --no-dev-deps
|
- run: cargo hack check --feature-powerset --no-dev-deps
|
||||||
- run: cargo build --verbose
|
- run: cargo build --verbose
|
||||||
|
Reference in New Issue
Block a user