Skip to content

Commit

Permalink
chore: setup-go with go version file.
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Liang <[email protected]>
  • Loading branch information
liangyuanpeng committed Jan 16, 2025
1 parent 499275d commit 5f45afc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: 1.21

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Get dependencies
run: go get -v -t -d ./...

Expand Down

0 comments on commit 5f45afc

Please sign in to comment.