Skip to content

Commit

Permalink
fix: Failing scripts/unit-test action (#566)
Browse files Browse the repository at this point in the history
Fixes failing scripts/unit-test GH action by using the latest patch of
go1.21 instead of go1.21.0.

We were seeing errors like:

```
Failed to compile otel-collector:
...
compile: version "go1.21.9" does not match go tool version "go1.21.0"
```

Signed-off-by: Carson Long <12767276+ctlong@users.noreply.github.com>
Co-authored-by: Andrew Crump <andrew.crump@broadcom.com>
  • Loading branch information
ctlong and acrmp committed Apr 15, 2024
1 parent a208bb2 commit b84f33a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "src/go.mod"
go-version: '1.21'
check-latest: true
- run: ./scripts/subtests/unit-test

lint:
Expand All @@ -26,5 +27,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "src/go.mod"
go-version: '1.21'
check-latest: true
- run: ./scripts/subtests/lint

0 comments on commit b84f33a

Please sign in to comment.