Updating Go for Kubernetes

Kubernetes dependencies require Go 1.23 or newer. Updating Helm to use that
in the way Helm handles Go.

Signed-off-by: Matt Farina <matt.farina@suse.com>
pull/13526/head
Matt Farina 9 months ago
parent e5a651c431
commit c347af548e
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -21,7 +21,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0 uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0
with: with:
go-version: '1.22' go-version: '1.23'
check-latest: true check-latest: true
- name: Test source headers are present - name: Test source headers are present
run: make test-source-headers run: make test-source-headers

@ -18,7 +18,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0 uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0
with: with:
go-version: '1.22' go-version: '1.23'
check-latest: true check-latest: true
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 #pin@6.1.1 uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 #pin@6.1.1

@ -16,7 +16,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0 uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0
with: with:
go-version: '1.22' go-version: '1.23'
check-latest: true check-latest: true
- name: govulncheck - name: govulncheck
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # pin@1.0.4 uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # pin@1.0.4

@ -27,7 +27,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0 uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0
with: with:
go-version: '1.22.7' go-version: '1.23'
- name: Run unit tests - name: Run unit tests
run: make test-coverage run: make test-coverage
@ -83,7 +83,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0 uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # pin@5.2.0
with: with:
go-version: '1.22' go-version: '1.23'
check-latest: true check-latest: true
- name: Run unit tests - name: Run unit tests

@ -1,7 +1,6 @@
module helm.sh/helm/v3 module helm.sh/helm/v3
go 1.22.0 go 1.23.0
toolchain go1.23.4
require ( require (
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24

Loading…
Cancel
Save