Skip to content

Commit

Permalink
use go version in go.mod file
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyi1 committed Feb 6, 2024
1 parent 0edcdb5 commit 50907e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ jobs:
- name: Check out
uses: actions/checkout@v3

# Go uses the toolchain version in go.mod since 1.21
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '>=1.21.6'
go-version-file: '${{ github.workspace }}/go.mod'

- name: Unit Test
run: go test -v -race ./...

0 comments on commit 50907e7

Please sign in to comment.