diff --git a/.github/workflows/go-build.yaml b/.github/workflows/go-build.yaml index 3ecc0cb..01135ef 100644 --- a/.github/workflows/go-build.yaml +++ b/.github/workflows/go-build.yaml @@ -24,7 +24,7 @@ jobs: mkdir -p "$(go env GOCACHE)" - name: Go Build Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.go-cache-paths.outputs.go-build }} key: ${{ runner.os }}-gobuild-build-${{ github.sha }} @@ -32,7 +32,7 @@ jobs: ${{ runner.os }}-gobuild-build - name: Go Mod Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.go-cache-paths.outputs.go-mod }} key: ${{ runner.os }}-gomod-build-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/go-test.yaml b/.github/workflows/go-test.yaml index 76e6abb..61482a2 100644 --- a/.github/workflows/go-test.yaml +++ b/.github/workflows/go-test.yaml @@ -25,7 +25,7 @@ jobs: mkdir -p "$(go env GOCACHE)" - name: Go Build Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.go-cache-paths.outputs.go-build }} key: ${{ runner.os }}-gobuild-test-${{ github.sha }} @@ -33,7 +33,7 @@ jobs: ${{ runner.os }}-gobuild-test - name: Go Mod Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.go-cache-paths.outputs.go-mod }} key: ${{ runner.os }}-gomod-test-${{ hashFiles('**/go.sum') }}