Skip to content

Commit

Permalink
setup go toolchain for unit test workflow
Browse files Browse the repository at this point in the history
i think we were relying on the go toolchain available inside the runner
image, which could be out of date. Instead we should use the setup-go
action which should have the latest version of the toolchain

Signed-off-by: Bohan Chen <[email protected]>
  • Loading branch information
chenbh committed Nov 21, 2023
1 parent 8e7015d commit 70df6ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Run tests
run: make unit-ci
- name: Report coverage
uses: codecov/[email protected]
uses: codecov/[email protected]

0 comments on commit 70df6ec

Please sign in to comment.