Skip to content

Commit d0ad55d

Browse files
authored
update go to 1.22.8 (#299)
* chore: update go to 1.22.8 * chore: update required go version to 1.22.0 * chore: update go.mod * fix: specify go patch version where missing
1 parent 5d8158f commit d0ad55d

File tree

10 files changed

+16
-12
lines changed

10 files changed

+16
-12
lines changed

.github/workflows/development.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Golang
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: ^1.22.7
23+
go-version: ^1.22.8
2424
- name: Setup workspace
2525
run: cp go.work.dist go.work
2626
- name: Download golangci-lint installer
@@ -40,4 +40,4 @@ jobs:
4040
version: 2.3.1
4141
args: release --verbose --snapshot --clean
4242
env:
43-
GO_VERSION: 1.22.7
43+
GO_VERSION: 1.22.8

.github/workflows/prerelease.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Golang
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: ^1.22.7
25+
go-version: ^1.22.8
2626
- name: Setup workspace
2727
run: cp go.work.dist go.work
2828
- name: Run GoReleaser for release
@@ -33,4 +33,4 @@ jobs:
3333
args: release --verbose --clean
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
36-
GO_VERSION: 1.22.7
36+
GO_VERSION: 1.22.8

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Golang
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: ^1.22.7
25+
go-version: ^1.22.8
2626
- name: Setup workspace
2727
run: cp go.work.dist go.work
2828
- name: Log in to Docker Hub
@@ -39,4 +39,4 @@ jobs:
3939
args: release --verbose --clean
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
42-
GO_VERSION: 1.22.7
42+
GO_VERSION: 1.22.8

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
adr-tools 3.0.0
2-
golang 1.23.2
2+
golang 1.22.8
33
golangci-lint 1.61.0
44
goreleaser 2.3.1
55
hadolint 2.12.0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.3-alpine3.18 AS tools
1+
FROM golang:1.22.8-alpine3.20 AS tools
22

33
COPY scripts/tools-golang.sh /tmp/tools-golang.sh
44

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SHELL := /bin/bash
88
# ----------------------------------------------------------------------------------------------------------------------
99

1010
_DOCKER_FILELINT_IMAGE=cytopia/file-lint:latest-0.8
11-
_DOCKER_GOLANG_IMAGE=golang:1.22.7
11+
_DOCKER_GOLANG_IMAGE=golang:1.22.8
1212
_DOCKER_GOLANGCI_LINT_IMAGE=golangci/golangci-lint:v1.61.0
1313
_DOCKER_HADOLINT_IMAGE=hadolint/hadolint:v2.12.0
1414
_DOCKER_JSONLINT_IMAGE=cytopia/jsonlint:1.6

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/atombender/go-jsonschema
22

33
go 1.22.0
44

5-
toolchain go1.23.2
5+
toolchain go1.22.0
66

77
require (
88
github.com/davecgh/go-spew v1.1.1 // indirect

go.work.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
1919
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
2020
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
2121
golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0=
22+
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
2223
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
2324
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
2425
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
@@ -30,6 +31,8 @@ golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
3031
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
3132
golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM=
3233
golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
34+
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
35+
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
3336
golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457/go.mod h1:pRgIJT+bRLFKnoM1ldnzKoxTIn14Yxz928LQRYYgIN0=
3437
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
3538
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -42,5 +45,6 @@ golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps
4245
golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg=
4346
golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ=
4447
golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg=
48+
golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0=
4549
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
4650
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

tests/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/atombender/go-jsonschema/tests
22

33
go 1.22.0
44

5-
toolchain go1.22.7
5+
toolchain go1.22.0
66

77
replace (
88
github.com/atombender/go-jsonschema => ../

tests/helpers/other/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/atombender/go-jsonschema/tests/example/other
22

3-
go 1.22
3+
go 1.22.0

0 commit comments

Comments
 (0)