Skip to content

Commit

Permalink
get go version from go.mod file
Browse files Browse the repository at this point in the history
  • Loading branch information
ned1313 committed Jun 12, 2024
1 parent 6ad09f3 commit 1d24e94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version-file: 'go.mod'
check-latest: true

- name: Build
run: go build -v ./...
Expand Down

0 comments on commit 1d24e94

Please sign in to comment.