diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 723f1d72..2786cd07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - name: Cargo registry cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry/index @@ -41,7 +41,7 @@ jobs: run: echo "::set-output name=version::$(cargo search 'cargo-cache' --limit 1 | head -n 1 | cut -d ' ' -f 3 | cut -d '"' -f 2)" - name: Cargo binaries cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/bin/cargo-cache @@ -66,7 +66,7 @@ jobs: run: echo "::set-output name=version::$(rustc --version | cut -d ' ' -f 2)" - name: Build cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: target key: ${{ runner.os }}-lint-${{ steps.rustcversion.outputs.version }}-${{ hashFiles('**/Cargo.toml') }} @@ -99,7 +99,7 @@ jobs: run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - name: Cargo registry cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry/index @@ -119,7 +119,7 @@ jobs: run: echo "::set-output name=version::$(rustc --version | cut -d ' ' -f 2)" - name: Build cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: target key: ${{ runner.os }}-test-${{ steps.rustcversion.outputs.version }}-${{ hashFiles('**/Cargo.toml') }} @@ -204,7 +204,7 @@ jobs: run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - name: Cargo registry cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry/index @@ -225,7 +225,7 @@ jobs: run: echo "::set-output name=version::$(cargo search 'grcov' --limit 1 | head -n 1 | cut -d ' ' -f 3 | cut -d '"' -f 2)" - name: grcov cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/bin/grcov @@ -273,7 +273,7 @@ jobs: run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - name: Cargo registry cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry/index