Skip to content

Commit f8c2004

Browse files
Bump go versions in the codebase
Signed-off-by: Furkat Gofurov <[email protected]>
1 parent 59cdbb8 commit f8c2004

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-go@v5
1616
with:
17-
go-version: '1.21'
17+
go-version: '1.22'
1818
- name: golangci-lint
1919
uses: golangci/golangci-lint-action@v6
2020
with:

.github/workflows/pr-dependabot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # tag=v5.0.0
2828
with:
2929
# go-version: ${{ steps.vars.outputs.go_version }} // TODO: we have to use go version consistent with test infra jobs
30-
go-version: '1.21'
30+
go-version: '1.22'
3131
- uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # tag=v4.1.0
3232
name: Restore go cache
3333
with:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: '1.21'
25+
go-version: '1.22'
2626
- name: Run GoReleaser
2727
uses: goreleaser/goreleaser-action@v6
2828
with:

.golangci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 5m
3-
go: "1.21"
3+
go: "1.22"
44
skip-files:
55
- "zz_generated.*\\.go$"
66
allow-parallel-runners: true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ROOT:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
2323

2424
.DEFAULT_GOAL:=help
2525

26-
GO_VERSION ?= 1.21.8
26+
GO_VERSION ?= 1.22.5
2727
GO_CONTAINER_IMAGE ?= docker.io/library/golang:$(GO_VERSION)
2828

2929
# Use GOPROXY environment variable if set

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def build_image():
2020
"SECURITY_CONTACTS"
2121
],
2222
build_args = {
23-
"builder_image": "docker.io/library/golang:1.20.4",
23+
"builder_image": "docker.io/library/golang:1.22.5",
2424
}
2525
)
2626

hack/ensure-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ EOF
3131
local go_version
3232
IFS=" " read -ra go_version <<< "$(go version)"
3333
local minimum_go_version
34-
minimum_go_version=go1.21.8
34+
minimum_go_version=go1.22.0
3535
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
3636
cat <<EOF
3737
Detected go version: ${go_version[*]}.

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
publish = "docs/book/book"
55

66
[build.environment]
7-
GO_VERSION = "1.21.7"
7+
GO_VERSION = "1.22.5"
88

99
# Standard Netlify redirects
1010
[[redirects]]

0 commit comments

Comments
 (0)