diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a083406..b5c7e1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,11 +117,11 @@ jobs: run: |- echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: key: ${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-build-${{ hashFiles('**/go.sum') }} path: ${{ steps.go-cache-paths.outputs.go-build }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: key: ${{ runner.os }}-${{ matrix.goos }}-${{ matrix.goarch }}-go-mod-${{ hashFiles('**/go.sum') }} path: ${{ steps.go-cache-paths.outputs.go-mod }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a12f710..1033af9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,14 +32,14 @@ jobs: # Cache builds; speedup tests. - name: Build Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.go-cache-paths.outputs.go-build }} key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }} # Cache modules; speedup builds. - name: Module Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.go-cache-paths.outputs.go-mod }} key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}