Skip to content

Commit 056b8f0

Browse files
authored
Bump required go version to 1.23.0 (#3706)
* Bump required Go version to 1.23 * Fix renovate go version detection in GH workflows
1 parent 117c337 commit 056b8f0

9 files changed

+9
-9
lines changed

.github/workflows/publish-images.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: '~1.22.4'
22+
go-version: '~1.23.6'
2323

2424
- name: Unshallow
2525
run: git fetch --prune --unshallow

.github/workflows/publish-must-gather.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: '~1.22.4'
22+
go-version: '~1.23.6'
2323

2424
- name: Unshallow
2525
run: git fetch --prune --unshallow

.github/workflows/publish-operator-opamp-bridge.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- uses: actions/setup-go@v5
2525
with:
26-
go-version: '~1.22.4'
26+
go-version: '~1.23.6'
2727

2828
# TODO: We're currently not using this. Should we?
2929
- name: Read version

.github/workflows/publish-target-allocator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- uses: actions/setup-go@v5
2525
with:
26-
go-version: '~1.22.4'
26+
go-version: '~1.23.6'
2727

2828
# TODO: We're currently not using this. Should we?
2929
- name: Read version

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/open-telemetry/opentelemetry-operator
22

3-
go 1.22.7
3+
go 1.23.0
44

55
retract v1.51.0
66

renovate.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"(^|/)\\.github/workflows/.+\\.ya?ml$"
1313
],
1414
"matchStrings": [
15-
"go-version: \"~(?<currentValue>.+)\""
15+
"go-version: [\"']~(?<currentValue>.+)[\"'])"
1616
]
1717
},
1818
{

tests/test-e2e-apps/bridge-server/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine as builder
1+
FROM golang:1.23-alpine as builder
22

33
WORKDIR /app
44
COPY go.mod go.sum ./

tests/test-e2e-apps/bridge-server/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/open-telemetry/opentelemetry-operator/tests/test-e2e-apps/bridge-server
22

3-
go 1.22.1
3+
go 1.23.0
44

55
require (
66
github.com/google/uuid v1.6.0

tests/test-e2e-apps/golang/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine as builder
1+
FROM golang:1.23-alpine as builder
22

33
COPY main.go .
44
RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -o app main.go

0 commit comments

Comments
 (0)