diff --git a/scaffold/cmd/templates/source/.github/workflows/release.yaml.tpl b/scaffold/cmd/templates/source/.github/workflows/release.yaml.tpl index 77281e40345ba5..27d68fe535730e 100644 --- a/scaffold/cmd/templates/source/.github/workflows/release.yaml.tpl +++ b/scaffold/cmd/templates/source/.github/workflows/release.yaml.tpl @@ -21,10 +21,9 @@ jobs: with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version-file: go.mod - cache: true - name: Run GoReleaser Dry-Run uses: goreleaser/goreleaser-action@v3 with: diff --git a/scaffold/cmd/templates/source/.github/workflows/test.yaml.tpl b/scaffold/cmd/templates/source/.github/workflows/test.yaml.tpl index e8458ef8954fd2..2890f3ddbaab12 100644 --- a/scaffold/cmd/templates/source/.github/workflows/test.yaml.tpl +++ b/scaffold/cmd/templates/source/.github/workflows/test.yaml.tpl @@ -16,10 +16,9 @@ jobs: with: fetch-depth: 2 - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version-file: go.mod - cache: true - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: