Skip to content

Commit

Permalink
Upgrade to go 1.22 (#2862)
Browse files Browse the repository at this point in the history
* upgrade to go 1.22

* reference go.mod from root

* attempt 2

* workaround for golang/go#61455
  • Loading branch information
gerardsn committed Mar 6, 2024
1 parent 3d1de3b commit 63b6f60
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
parallelism: 8
docker:
- image: cimg/go:1.21
- image: cimg/go:1.22
steps:
- checkout

Expand All @@ -36,7 +36,7 @@ jobs:

report:
docker:
- image: cimg/go:1.21
- image: cimg/go:1.22
steps:
- checkout
- attach_workspace:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
# use go version from go.mod.
go-version-file: 'go.mod'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
# use go version from go.mod.
go-version-file: 'go.mod'

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/govulncheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ jobs:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 'stable'
# use go version from go.mod.
go-version-file: 'go.mod'
go-package: ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/nuts-foundation/nuts-node

go 1.21
go 1.22

require (
github.com/PaesslerAG/jsonpath v0.1.2-0.20230323094847-3484786d6f97
Expand Down

0 comments on commit 63b6f60

Please sign in to comment.