ci: add cache-workspaces test

This commit is contained in:
Rob Ede 2024-01-13 17:25:41 +00:00
parent f2e9ed58bd
commit 922cc935eb
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
4 changed files with 45 additions and 0 deletions

View file

@ -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