Skip to content

Commit a25a5fd

Browse files
authored
[chore] Upgrade golang from 1.22.11 to 1.22.12 (open-telemetry#37751)
#### Description [Vulnerability scans](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/13184143287/job/36802088446?pr=37749) are detecting [GO-2025-3447](https://pkg.go.dev/vuln/GO-2025-3447) in our runs. This upgrades the test environment to run 1.22.12, the fixed version.
1 parent e296b0f commit a25a5fd

15 files changed

+31
-31
lines changed

.github/workflows/build-and-test-arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v4
5151
- uses: actions/setup-go@v5
5252
with:
53-
go-version: "~1.22.11"
53+
go-version: "~1.22.12"
5454
cache: false
5555
- name: Cache Go
5656
id: go-cache

.github/workflows/build-and-test-darwin.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v4
3030
- uses: actions/setup-go@v5
3131
with:
32-
go-version: "~1.22.11"
32+
go-version: "~1.22.12"
3333
cache: false
3434
- name: Cache Go
3535
id: go-cache
@@ -70,7 +70,7 @@ jobs:
7070
- uses: actions/checkout@v4
7171
- uses: actions/setup-go@v5
7272
with:
73-
go-version: "~1.22.11"
73+
go-version: "~1.22.12"
7474
cache: false
7575
- name: Install Tools
7676
if: steps.go-cache.outputs.cache-hit != 'true'

.github/workflows/build-and-test-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
run: Install-WindowsFeature -name Web-Server -IncludeManagementTools
6060
- uses: actions/setup-go@v5
6161
with:
62-
go-version: "1.22.11"
62+
go-version: "1.22.12"
6363
cache: false
6464
- name: Cache Go
6565
id: go-mod-cache

.github/workflows/build-and-test.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727
- uses: actions/setup-go@v5
2828
with:
29-
go-version: "1.22.11"
29+
go-version: "1.22.12"
3030
cache: false
3131
- name: Cache Go
3232
id: go-cache
@@ -94,7 +94,7 @@ jobs:
9494
- uses: actions/checkout@v4
9595
- uses: actions/setup-go@v5
9696
with:
97-
go-version: "1.22.11"
97+
go-version: "1.22.12"
9898
cache: false
9999
- name: Cache Go
100100
id: go-cache
@@ -164,7 +164,7 @@ jobs:
164164
- name: Setup Go
165165
uses: actions/setup-go@v5
166166
with:
167-
go-version: "1.22.11"
167+
go-version: "1.22.12"
168168
cache: false
169169
- name: Cache Go
170170
id: go-cache
@@ -188,7 +188,7 @@ jobs:
188188
- uses: actions/checkout@v4
189189
- uses: actions/setup-go@v5
190190
with:
191-
go-version: "1.22.11"
191+
go-version: "1.22.12"
192192
cache: false
193193
- name: Cache Go
194194
id: go-cache
@@ -250,7 +250,7 @@ jobs:
250250
strategy:
251251
fail-fast: false
252252
matrix:
253-
go-version: ["1.23.0", "1.22.11"] # 1.20 is interpreted as 1.2 without quotes
253+
go-version: ["1.23.0", "1.22.12"] # 1.20 is interpreted as 1.2 without quotes
254254
runner: [ubuntu-24.04]
255255
group:
256256
- receiver-0
@@ -367,7 +367,7 @@ jobs:
367367
- uses: actions/checkout@v4
368368
- uses: actions/setup-go@v5
369369
with:
370-
go-version: "1.22.11"
370+
go-version: "1.22.12"
371371
cache: false
372372
- name: Cache Go
373373
id: go-cache
@@ -406,7 +406,7 @@ jobs:
406406
- uses: actions/checkout@v4
407407
- uses: actions/setup-go@v5
408408
with:
409-
go-version: "1.22.11"
409+
go-version: "1.22.12"
410410
cache: false
411411
- name: Cache Go
412412
id: go-cache
@@ -433,7 +433,7 @@ jobs:
433433
- uses: actions/checkout@v4
434434
- uses: actions/setup-go@v5
435435
with:
436-
go-version: "1.22.11"
436+
go-version: "1.22.12"
437437
cache: false
438438
- name: Cache Go
439439
id: go-cache
@@ -505,7 +505,7 @@ jobs:
505505
- uses: actions/checkout@v4
506506
- uses: actions/setup-go@v5
507507
with:
508-
go-version: "1.22.11"
508+
go-version: "1.22.12"
509509
cache: false
510510
- name: Cache Go
511511
id: go-cache
@@ -555,7 +555,7 @@ jobs:
555555
- uses: actions/checkout@v4
556556
- uses: actions/setup-go@v5
557557
with:
558-
go-version: "1.22.11"
558+
go-version: "1.22.12"
559559
cache: false
560560
- name: Mkdir bin and dist
561561
run: |

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
fetch-depth: 0
3636
- uses: actions/setup-go@v5
3737
with:
38-
go-version: "1.22.11"
38+
go-version: "1.22.12"
3939
cache: false
4040
- name: Cache Go
4141
id: go-cache

.github/workflows/check-codeowners.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- uses: actions/setup-go@v5
3232
with:
33-
go-version: "1.22.11"
33+
go-version: "1.22.12"
3434
cache: false
3535

3636
- name: Cache Go Tools

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v4
2525
- uses: actions/setup-go@v5
2626
with:
27-
go-version: "1.22.11"
27+
go-version: "1.22.12"
2828
cache: false
2929

3030
# Initializes the CodeQL tools for scanning.

.github/workflows/e2e-tests-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
- name: Setup Go
119119
uses: actions/setup-go@v5
120120
with:
121-
go-version: ~1.22.11
121+
go-version: ~1.22.12
122122
cache: false
123123
- name: Cache Go
124124
uses: actions/cache@v4

.github/workflows/e2e-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@v4
2727
- uses: actions/setup-go@v5
2828
with:
29-
go-version: "1.22.11"
29+
go-version: "1.22.12"
3030
cache: false
3131
- name: Cache Go
3232
id: go-cache
@@ -57,7 +57,7 @@ jobs:
5757
- uses: actions/checkout@v4
5858
- uses: actions/setup-go@v5
5959
with:
60-
go-version: "1.22.11"
60+
go-version: "1.22.12"
6161
cache: false
6262
- name: Cache Go
6363
id: go-cache
@@ -89,7 +89,7 @@ jobs:
8989
uses: actions/checkout@v4
9090
- uses: actions/setup-go@v5
9191
with:
92-
go-version: "1.22.11"
92+
go-version: "1.22.12"
9393
cache: false
9494
- name: Cache Go
9595
id: go-cache
@@ -137,7 +137,7 @@ jobs:
137137
- uses: actions/checkout@v4
138138
- uses: actions/setup-go@v5
139139
with:
140-
go-version: "1.22.11"
140+
go-version: "1.22.12"
141141
cache: false
142142
- name: Cache Go
143143
id: go-cache

.github/workflows/load-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v4
2929
- uses: actions/setup-go@v5
3030
with:
31-
go-version: "1.22.11"
31+
go-version: "1.22.12"
3232
cache: false
3333
- name: Cache Go
3434
id: go-cache
@@ -67,7 +67,7 @@ jobs:
6767
- uses: actions/checkout@v4
6868
- uses: actions/setup-go@v5
6969
with:
70-
go-version: "1.22.11"
70+
go-version: "1.22.12"
7171
cache: false
7272
- name: Cache Go
7373
id: go-cache

0 commit comments

Comments
 (0)