-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actions: get setup-go version from go.mod
Updates setup-go to get the Go version from the go.mod file when running Github Actions.
- Loading branch information
1 parent
4c79ecb
commit c80b06d
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
go-version-file: 'go.mod' | ||
|
||
- name: Build | ||
run: make build | ||
|
@@ -79,7 +79,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
go-version-file: 'go.mod' | ||
|
||
- name: Docker cache | ||
uses: ScribeMD/[email protected] | ||
|
@@ -134,7 +134,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
go-version-file: 'go.mod' | ||
|
||
- name: Docker cache | ||
uses: ScribeMD/[email protected] | ||
|
@@ -193,7 +193,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
go-version-file: 'go.mod' | ||
|
||
- name: Docker cache | ||
uses: ScribeMD/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters