diff --git a/.github/renovate.json b/.github/renovate.json index 1094196..05cbd77 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -11,7 +11,7 @@ ], "commitMessageAction": "Renovate: Update", "constraints": { - "go": "1.21" + "go": "1.22" }, "postUpdateOptions": [ "gomodTidy", @@ -22,7 +22,7 @@ "matchPackageNames": [ "golang" ], - "allowedVersions": "1.21.x" + "allowedVersions": "1.22.x" }, { "matchPackagePatterns": [ diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 868b341..12253a9 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -25,7 +25,7 @@ jobs: uses: actions/setup-go@v5 with: check-latest: true - go-version: "1.21" + go-version: "1.22" - name: Dependency Licenses Review run: make check-dependency-licenses - name: Run govulncheck diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 94b9320..25da216 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: uses: actions/setup-go@v5 with: check-latest: true - go-version: "1.21" + go-version: "1.22" - name: Build all binaries run: make build-all - name: Run golangci-lint @@ -47,7 +47,7 @@ jobs: uses: actions/setup-go@v5 with: check-latest: true - go-version: "1.21" + go-version: "1.22" - name: Run tests and generate coverage report run: make build/cover.out - name: Upload coverage report to Coveralls diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 24b913d..307b258 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -28,7 +28,7 @@ jobs: uses: actions/setup-go@v5 with: check-latest: true - go-version: "1.21" + go-version: "1.22" - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: diff --git a/go.mod b/go.mod index 8849f9f..c65a0cb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/sapcc/go-makefile-maker -go 1.21 +go 1.22 require ( github.com/sapcc/go-bits v0.0.0-20240204232020-9be969f15f30 diff --git a/internal/core/constants.go b/internal/core/constants.go index 523c755..b0ae3aa 100644 --- a/internal/core/constants.go +++ b/internal/core/constants.go @@ -16,9 +16,9 @@ package core const ( DefaultAlpineImage = "3.19" - DefaultGolangImagePrefix = "1.21.7-alpine" + DefaultGolangImagePrefix = "1.22.0-alpine" - DefaultGoVersion = "1.21" + DefaultGoVersion = "1.22" DefaultPostgresVersion = "12" DefaultLinkerdAwaitVersion = "0.2.7" DefaultK8sEnvtestVersion = "1.26.x!"