Skip to content

Commit c9a6518

Browse files
authored
[chore] Upgrade go version in CI (open-telemetry#31610)
To fix reported CVEs
1 parent d418cbd commit c9a6518

File tree

10 files changed

+25
-25
lines changed

10 files changed

+25
-25
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: Install-WindowsFeature -name Web-Server -IncludeManagementTools
5151
- uses: actions/setup-go@v5
5252
with:
53-
go-version: "1.21.7"
53+
go-version: "1.21.8"
5454
cache: false
5555
- name: Cache Go
5656
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.21.7"
29+
go-version: "1.21.8"
3030
cache: false
3131
- name: Cache Go
3232
id: go-cache
@@ -88,7 +88,7 @@ jobs:
8888
- uses: actions/checkout@v4
8989
- uses: actions/setup-go@v5
9090
with:
91-
go-version: "1.21.7"
91+
go-version: "1.21.8"
9292
cache: false
9393
- name: Cache Go
9494
id: go-cache
@@ -154,7 +154,7 @@ jobs:
154154
- name: Setup Go
155155
uses: actions/setup-go@v5
156156
with:
157-
go-version: "1.21.7"
157+
go-version: "1.21.8"
158158
cache: false
159159
- name: Cache Go
160160
id: go-cache
@@ -177,7 +177,7 @@ jobs:
177177
- uses: actions/checkout@v4
178178
- uses: actions/setup-go@v5
179179
with:
180-
go-version: "1.21.7"
180+
go-version: "1.21.8"
181181
cache: false
182182
- name: Cache Go
183183
id: go-cache
@@ -237,7 +237,7 @@ jobs:
237237
unittest-matrix:
238238
strategy:
239239
matrix:
240-
go-version: ["1.22.0", "1.21.7"] # 1.20 is interpreted as 1.2 without quotes
240+
go-version: ["1.22.0", "1.21.8"] # 1.20 is interpreted as 1.2 without quotes
241241
group:
242242
- receiver-0
243243
- receiver-1
@@ -350,7 +350,7 @@ jobs:
350350
- uses: actions/checkout@v4
351351
- uses: actions/setup-go@v5
352352
with:
353-
go-version: "1.21.7"
353+
go-version: "1.21.8"
354354
cache: false
355355
- name: Cache Go
356356
id: go-cache
@@ -388,7 +388,7 @@ jobs:
388388
- uses: actions/checkout@v4
389389
- uses: actions/setup-go@v5
390390
with:
391-
go-version: "1.21.7"
391+
go-version: "1.21.8"
392392
cache: false
393393
- name: Cache Go
394394
id: go-cache
@@ -414,7 +414,7 @@ jobs:
414414
- uses: actions/checkout@v4
415415
- uses: actions/setup-go@v5
416416
with:
417-
go-version: "1.21.7"
417+
go-version: "1.21.8"
418418
cache: false
419419
- name: Cache Go
420420
id: go-cache
@@ -483,7 +483,7 @@ jobs:
483483
- uses: actions/checkout@v4
484484
- uses: actions/setup-go@v5
485485
with:
486-
go-version: "1.21.7"
486+
go-version: "1.21.8"
487487
cache: false
488488
- name: Cache Go
489489
id: go-cache
@@ -620,7 +620,7 @@ jobs:
620620
- uses: actions/checkout@v4
621621
- uses: actions/setup-go@v5
622622
with:
623-
go-version: "1.21.7"
623+
go-version: "1.21.8"
624624
cache: false
625625
- name: Mkdir bin and dist
626626
run: |

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
fetch-depth: 0
3434
- uses: actions/setup-go@v5
3535
with:
36-
go-version: "1.21.7"
36+
go-version: "1.21.8"
3737
cache: false
3838
- name: Cache Go
3939
id: go-cache

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-go@v5
2020
with:
21-
go-version: "1.21.7"
21+
go-version: "1.21.8"
2222
cache: false
2323

2424
# Initializes the CodeQL tools for scanning.

.github/workflows/e2e-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@v4
2323
- uses: actions/setup-go@v5
2424
with:
25-
go-version: "1.21.7"
25+
go-version: "1.21.8"
2626
cache: false
2727
- name: Cache Go
2828
id: go-cache
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@v4
5252
- uses: actions/setup-go@v5
5353
with:
54-
go-version: "1.21.7"
54+
go-version: "1.21.8"
5555
cache: false
5656
- name: Cache Go
5757
id: go-cache
@@ -83,7 +83,7 @@ jobs:
8383
uses: actions/checkout@v4
8484
- uses: actions/setup-go@v5
8585
with:
86-
go-version: "1.21.7"
86+
go-version: "1.21.8"
8787
cache: false
8888
- name: Cache Go
8989
id: go-cache
@@ -130,7 +130,7 @@ jobs:
130130
- uses: actions/checkout@v4
131131
- uses: actions/setup-go@v5
132132
with:
133-
go-version: "1.21.7"
133+
go-version: "1.21.8"
134134
cache: false
135135
- name: Cache Go
136136
id: go-cache

.github/workflows/load-tests.yml

Lines changed: 2 additions & 2 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.21.7"
29+
go-version: "1.21.8"
3030
cache: false
3131
- name: Cache Go
3232
id: go-cache
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions/checkout@v4
6565
- uses: actions/setup-go@v5
6666
with:
67-
go-version: "1.21.7"
67+
go-version: "1.21.8"
6868
cache: false
6969
- name: Cache Go
7070
id: go-cache

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
path: opentelemetry-collector-contrib
2727
- uses: actions/setup-go@v5
2828
with:
29-
go-version: "1.21.7"
29+
go-version: "1.21.8"
3030
cache: false
3131
- name: Prepare release for contrib
3232
working-directory: opentelemetry-collector-contrib

.github/workflows/prometheus-compliance-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
path: opentelemetry-collector-contrib
2828
- uses: actions/setup-go@v5
2929
with:
30-
go-version: "1.21.7"
30+
go-version: "1.21.8"
3131
cache: false
3232
- name: Cache Go
3333
id: go-cache

.github/workflows/telemetrygen.yml

Lines changed: 3 additions & 3 deletions
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.21.7"
27+
go-version: "1.21.8"
2828
cache: false
2929
- name: Cache Go
3030
id: go-cache
@@ -63,7 +63,7 @@ jobs:
6363
- uses: actions/checkout@v4
6464
- uses: actions/setup-go@v5
6565
with:
66-
go-version: "1.21.7"
66+
go-version: "1.21.8"
6767
cache: false
6868
- name: Cache Go
6969
id: go-cache
@@ -108,7 +108,7 @@ jobs:
108108
- uses: actions/checkout@v4
109109
- uses: actions/setup-go@v5
110110
with:
111-
go-version: "1.21.7"
111+
go-version: "1.21.8"
112112
cache: false
113113
- name: Cache Go
114114
id: go-cache

.github/workflows/tidy-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ref: ${{ github.head_ref }}
2222
- uses: actions/setup-go@v5
2323
with:
24-
go-version: "1.21.7"
24+
go-version: "1.21.8"
2525
cache: false
2626
- name: Cache Go
2727
id: go-cache

0 commit comments

Comments
 (0)