ci: add cache-workspaces test
This commit is contained in:
parent
f2e9ed58bd
commit
922cc935eb
4 changed files with 45 additions and 0 deletions
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
|
@ -70,3 +70,20 @@ jobs:
|
|||
- run: cargo add serde_as
|
||||
|
||||
- run: cargo clippy
|
||||
|
||||
cache:
|
||||
name: Cache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- id: toolchain
|
||||
name: Install Rust
|
||||
uses: ./
|
||||
with:
|
||||
components: clippy
|
||||
cache: true
|
||||
cache-workspaces: |-
|
||||
./test-workspace
|
||||
|
||||
- run: cargo clippy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue