Skip to content

Commit 79e21bb

Browse files
authored
deps: update go version from 1.22.0 to 1.23.0 (#2985)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 parent 056a39b commit 79e21bb

File tree

69 files changed

+182
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+182
-72
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// README at: https://github.com/devcontainers/templates/tree/main/src/go
33
{
44
"name": "Go",
5-
"image": "mcr.microsoft.com/devcontainers/go:1.22-bookworm",
5+
"image": "mcr.microsoft.com/devcontainers/go:1.23-bookworm",
66

77
// Features to add to the dev container. More info: https://containers.dev/features.
88
// "features": {},

.github/settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ branches:
183183
# Required. Require branches to be up to date before merging.
184184
strict: true
185185
# Required. The list of status checks to require in order to merge into this branch
186-
contexts: ["test (1.x, ubuntu-latest) / ./ubuntu-latest/1.x"]
186+
contexts: ["test (1.24.x) / test: /1.24.x"]
187187
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
188188
enforce_admins: false
189189
# Prevent merge commits from being pushed to matching branches

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
# We don't want to fail the build the soonest but identify which modules passed and failed.
6262
fail-fast: false
6363
matrix:
64-
go-version: [1.22.x, 1.x]
64+
go-version: [1.23.x, 1.24.x]
6565
module: ${{ fromJSON(needs.detect-modules.outputs.modules) }}
6666
uses: ./.github/workflows/ci-test-go.yml
6767
with:
@@ -82,7 +82,7 @@ jobs:
8282
name: "Test with reaper off"
8383
strategy:
8484
matrix:
85-
go-version: [1.22.x, 1.x]
85+
go-version: [1.23.x, 1.24.x]
8686
uses: ./.github/workflows/ci-test-go.yml
8787
with:
8888
go-version: ${{ matrix.go-version }}
@@ -102,7 +102,7 @@ jobs:
102102
name: "Test with Rootless Docker"
103103
strategy:
104104
matrix:
105-
go-version: [1.22.x, 1.x]
105+
go-version: [1.23.x, 1.24.x]
106106
uses: ./.github/workflows/ci-test-go.yml
107107
with:
108108
go-version: ${{ matrix.go-version }}

docs/system_requirements/ci/aws_codebuild.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version: 0.2
1111
phases:
1212
install:
1313
runtime-versions:
14-
golang: 1.22
14+
golang: 1.23
1515
build:
1616
commands:
1717
- go test ./...

docs/system_requirements/ci/circle_ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ workflows:
5757
- tests:
5858
matrix:
5959
parameters:
60-
go-version: ["1.21.7", "1.22.3"]
60+
go-version: ["1.23.6", "1.24.0"]
6161

6262
```
6363

docs/system_requirements/ci/concourse_ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
start_docker
3737
3838
cd repo
39-
docker run -it --rm -v "$PWD:$PWD" -w "$PWD" -v /var/run/docker.sock:/var/run/docker.sock golang:1.22 go test ./...
39+
docker run -it --rm -v "$PWD:$PWD" -w "$PWD" -v /var/run/docker.sock:/var/run/docker.sock golang:1.23 go test ./...
4040
```
4141
4242
Finally, you can use Concourse's [fly CLI](https://concourse-ci.org/fly.html) to set the pipeline and trigger the job:

docs/system_requirements/ci/dind_patterns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $ tree .
2424
└── platform
2525
└── integration_test.go
2626

27-
$ docker run -it --rm -v $PWD:$PWD -w $PWD -v /var/run/docker.sock:/var/run/docker.sock golang:1.22 go test ./... -v
27+
$ docker run -it --rm -v $PWD:$PWD -w $PWD -v /var/run/docker.sock:/var/run/docker.sock golang:1.23 go test ./... -v
2828
```
2929

3030
Where:
@@ -45,7 +45,7 @@ The same can be achieved with Docker Compose:
4545

4646
```yaml
4747
tests:
48-
image: golang:1.22
48+
image: golang:1.23
4949
stop_signal: SIGKILL
5050
stdin_open: true
5151
tty: true

docs/system_requirements/ci/gitlab_ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ variables:
5757
DOCKER_DRIVER: overlay2
5858
5959
test:
60-
image: golang:1.22
60+
image: golang:1.23
6161
stage: test
6262
script: go test ./... -v
6363
```

docs/system_requirements/ci/tekton.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
- name: source
1717
steps:
1818
- name: read
19-
image: golang:1.22
19+
image: golang:1.23
2020
workingDir: $(workspaces.source.path)
2121
script: go test ./... -v
2222
volumeMounts:

docs/system_requirements/ci/travis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ is the minimal required config.
77
language: go
88
go:
99
- 1.x
10-
- "1.22"
10+
- "1.23"
1111

1212
services:
1313
- docker

0 commit comments

Comments
 (0)