From 0ac6347ed2cafd26c40e386eab78adcc2faa0f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Golicz?= Date: Wed, 18 Sep 2024 16:22:53 +0200 Subject: [PATCH 1/2] Update Golang version to 1.23.1 --- .github/workflows/golangci-lint.yaml | 2 +- .github/workflows/run-tests.yaml | 2 +- .github/workflows/run-vuln-check.yaml | 2 +- Dockerfile | 2 +- go.mod | 2 ++ 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 1cf3ab45..8faf74b1 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.23.0' + go-version: '1.23.1' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 #v6.1.0 diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index b423d3af..349b11ea 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -49,7 +49,7 @@ jobs: - name: Set up go environment uses: actions/setup-go@v5 with: - go-version: 1.23.0 + go-version: 1.23.1 ############################################################################################ - name: Run unit tests run: make test diff --git a/.github/workflows/run-vuln-check.yaml b/.github/workflows/run-vuln-check.yaml index 6729adc8..ad9353db 100644 --- a/.github/workflows/run-vuln-check.yaml +++ b/.github/workflows/run-vuln-check.yaml @@ -15,5 +15,5 @@ jobs: - name: vulncheck uses: golang/govulncheck-action@v1 with: - go-version-input: 1.23.0 + go-version-input: 1.23.1 go-package: ./... diff --git a/Dockerfile b/Dockerfile index 8aaf66fc..28fad31c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.23.0-alpine3.20 as builder +FROM golang:1.23.1-alpine3.20 as builder ARG TARGETOS ARG TARGETARCH diff --git a/go.mod b/go.mod index 6d86e97c..c2c2321e 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/kyma-project/infrastructure-manager go 1.23.0 +toolchain go1.23.1 + require ( github.com/gardener/gardener v1.100.0 github.com/gardener/gardener-extension-provider-aws v1.56.1 From 0154597ef857f4cc9069c60bbc93caddfaf3b36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Golicz?= Date: Wed, 18 Sep 2024 17:20:15 +0200 Subject: [PATCH 2/2] fully provide patched go version in the go.mod file --- go.mod | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/go.mod b/go.mod index c2c2321e..55c69025 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/kyma-project/infrastructure-manager -go 1.23.0 - -toolchain go1.23.1 +go 1.23.1 require ( github.com/gardener/gardener v1.100.0