Skip to content

Commit

Permalink
chore: use go-version-file instead of specifying version
Browse files Browse the repository at this point in the history
Signed-off-by: kvanzuijlen <8818390+kvanzuijlen@users.noreply.github.com>
  • Loading branch information
kvanzuijlen committed Apr 19, 2024
1 parent 07c222c commit 81467e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
steps:

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version-file: go.mod
id: go

- name: Check out the code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
steps:

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version-file: go.mod
id: go

- name: Check out code into the Go module directory
Expand Down

0 comments on commit 81467e1

Please sign in to comment.