diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4e796d37..75707add 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -26,7 +26,10 @@ jobs: override: true profile: minimal components: clippy, rustfmt - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 + with: + key: ${{ matrix.pwd }} + workspaces: ${{ matrix.pwd }} - name: Check working-directory: ${{ matrix.pwd }} run: | @@ -220,7 +223,10 @@ jobs: toolchain: beta override: true profile: minimal - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 + with: + key: ${{ matrix.pwd }} + workspaces: ${{ matrix.pwd }} - name: Install cargo-sort run: | cargo install cargo-sort