Update 'rust-cache' GitHub action to v2.

This commit is contained in:
Sergio Benitez 2022-08-04 18:40:33 -07:00
parent a34edc4de9
commit cbe4dcb4b5
1 changed files with 4 additions and 3 deletions

View File

@ -68,13 +68,14 @@ jobs:
- name: Cache Example Workspace
if: matrix.test.name == 'Examples'
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
with:
working-directory: "examples"
workspaces: examples
key: ${{ matrix.test.name }}
- name: Cache Root Workspace
if: matrix.test.name != 'Examples'
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.test.name }}