Skip to content

Commit 8fb6db0

Browse files
authored
[chore][CI/CD] Upgrade golang 1.22 version for unittest-matrix (#32288)
Version 1.22.0 of golang only has a darwin OS build of arm architecture available from `actions/setup-go` and `actions/go-versions`, so hopefully upgrading to use 1.22.2 will help tests pass. Fixes #32286 **Testing:** None yet, but hopefully from this CI/CD run of `build-and-test/unittest-matrix` we can confirm if the updated go version resolves this issue for arm testing. Run shows `1.22.2` got picked up successfully: ``` Setup go version spec 1.22.2 ... Attempting to download 1.22.2... ... matching 1.22.2... Acquiring 1.22.2 from https://github.com/actions/go-versions/releases/download/1.22.2-8[54](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/8622703577/job/23634936527?pr=32288#step:6:55)8848001/go-1.22.2-linux-arm64.tar.gz ... Extracting Go... ```
1 parent 0bd0379 commit 8fb6db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ jobs:
242242
unittest-matrix:
243243
strategy:
244244
matrix:
245-
go-version: ["1.22.0", "1.21.9"] # 1.20 is interpreted as 1.2 without quotes
245+
go-version: ["1.22.2", "1.21.9"] # 1.20 is interpreted as 1.2 without quotes
246246
runner: [ubuntu-latest, actuated-arm64-4cpu-4gb]
247247
group:
248248
- receiver-0

0 commit comments

Comments
 (0)