Skip to content

Commit 945aa19

Browse files
committed
chore: set go version from go.mod file in workflows
1 parent 794ec58 commit 945aa19

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v6
2222
with:
23-
go-version: '1.26.2'
23+
go-version-file: 'go.mod'
2424

2525
- name: Run GoReleaser
2626
uses: goreleaser/goreleaser-action@v7

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Go
3232
uses: actions/setup-go@v6
3333
with:
34-
go-version: '1.26.2'
34+
go-version-file: 'go.mod'
3535

3636
- name: Download dependencies
3737
run: go mod download

0 commit comments

Comments
 (0)