Skip to content

Commit 41dd464

Browse files
swiatekmjanario
authored andcommitted
Revert "[chore] require Go 1.22 (open-telemetry#2747)" (open-telemetry#2753)
This reverts commit 2409359. (cherry picked from commit 3aaa6cb)
1 parent 68fedc4 commit 41dd464

8 files changed

+10
-10
lines changed

.github/workflows/continuous-integration.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: "~1.22.1"
24+
go-version: "~1.21.1"
2525

2626
- name: Cache tools
2727
uses: actions/cache@v4
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Go
4646
uses: actions/setup-go@v5
4747
with:
48-
go-version: "~1.22.1"
48+
go-version: "~1.21.1"
4949

5050
- name: Cache tools
5151
uses: actions/cache@v4
@@ -79,7 +79,7 @@ jobs:
7979
- name: Set up Go
8080
uses: actions/setup-go@v5
8181
with:
82-
go-version: "~1.22.1"
82+
go-version: "~1.21.1"
8383

8484
- name: Initialize CodeQL
8585
uses: github/codeql-action/init@v3

.github/workflows/e2e.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set up Go
4848
uses: actions/setup-go@v5
4949
with:
50-
go-version: "~1.22.0"
50+
go-version: "~1.21.3"
5151
- name: Cache tools
5252
uses: actions/cache@v4
5353
with:

.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.1'
22+
go-version: '~1.21.3'
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.1'
26+
go-version: '~1.21.3'
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.1'
26+
go-version: '~1.21.3'
2727

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

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up Go
3737
uses: actions/setup-go@v5
3838
with:
39-
go-version: "~1.22.1"
39+
go-version: "~1.21.1"
4040

4141
- name: "generate release resources"
4242
run: make release-artifacts IMG_PREFIX="ghcr.io/open-telemetry/opentelemetry-operator" VERSION=${DESIRED_VERSION}

.github/workflows/scorecard.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v5
2727
with:
28-
go-version: "~1.22.1"
28+
go-version: "~1.21.1"
2929

3030
- name: Check out code into the Go module directory
3131
uses: actions/checkout@v4

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
3+
go 1.21
44

55
retract v1.51.0
66

0 commit comments

Comments
 (0)