Skip to content

Commit 63b6f60

Browse files
authored
Upgrade to go 1.22 (#2862)
* upgrade to go 1.22 * reference go.mod from root * attempt 2 * workaround for golang/go#61455
1 parent 3d1de3b commit 63b6f60

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
build:
1313
parallelism: 8
1414
docker:
15-
- image: cimg/go:1.21
15+
- image: cimg/go:1.22
1616
steps:
1717
- checkout
1818

@@ -36,7 +36,7 @@ jobs:
3636

3737
report:
3838
docker:
39-
- image: cimg/go:1.21
39+
- image: cimg/go:1.22
4040
steps:
4141
- checkout
4242
- attach_workspace:

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ jobs:
4545
- name: Checkout repository
4646
uses: actions/checkout@v4
4747

48+
- name: Set up Go
49+
uses: actions/setup-go@v5
50+
with:
51+
# use go version from go.mod.
52+
go-version-file: 'go.mod'
53+
4854
# Initializes the CodeQL tools for scanning.
4955
- name: Initialize CodeQL
5056
uses: github/codeql-action/init@v3

.github/workflows/e2e-tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
- name: Set up Go
2727
uses: actions/setup-go@v5
2828
with:
29-
go-version: 'stable'
29+
# use go version from go.mod.
30+
go-version-file: 'go.mod'
3031

3132
- name: Set up QEMU
3233
uses: docker/setup-qemu-action@v3

.github/workflows/govulncheck.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ jobs:
2525
- id: govulncheck
2626
uses: golang/govulncheck-action@v1
2727
with:
28-
go-version-input: 'stable'
28+
# use go version from go.mod.
29+
go-version-file: 'go.mod'
2930
go-package: ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/nuts-foundation/nuts-node
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/PaesslerAG/jsonpath v0.1.2-0.20230323094847-3484786d6f97

0 commit comments

Comments
 (0)