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 23, 2023
1 parent 525b225 commit cf28f0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Run tests
uses: ./.github/actions/run-tests
- name: Report coverage
Expand Down

0 comments on commit cf28f0a

Please sign in to comment.