Skip to content

Commit

Permalink
ci: update workflows to use go.mod instead of specifying go version
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Jul 30, 2024
1 parent 2588a36 commit 9225bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version-file: go.mod
check-latest: true
cache: true
id: go
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
uses: actions/setup-go@v5
with:
# use 1.20 to guarantee Go 1.20 compatibility
go-version: '1.20'
go-version-file: go.mod
check-latest: true
cache: true

Expand Down

0 comments on commit 9225bf0

Please sign in to comment.