diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4377f2a9..10c90b60 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -93,7 +93,7 @@ jobs: run: echo "version=$(rustc --version)" >> $GITHUB_OUTPUT - name: Cache cargo index - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.0 with: path: ~/.cargo/registry/index key: index-${{ runner.os }}-${{ github.run_number }} @@ -104,7 +104,7 @@ jobs: # run: cargo generate-lockfile - name: Cache cargo registry - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.0 with: path: ~/.cargo/registry/cache key: registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }} @@ -113,7 +113,7 @@ jobs: run: cargo fetch - name: Cache target directory - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.0 with: path: target key: cache-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}