Skip to content

Commit 25b3327

Browse files
committed
build: use Go version from go.mod
1 parent 659b7e4 commit 25b3327

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
name: Set up Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: "1.21"
25+
go-version-file: go.mod
2626

2727
# if tag release
2828
-

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
- uses: actions/setup-go@v5
1414
with:
15-
go-version: '1.21'
15+
go-version-file: go.mod
1616
cache: false
1717

1818
- name: go get

0 commit comments

Comments
 (0)