Skip to content

Commit fdfd748

Browse files
committed
ci: get Go version from go.mod
1 parent d56a1a8 commit fdfd748

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414

1515
- name: Setup Go
1616
uses: actions/setup-go@v5
17+
with:
18+
go-version-file: go.mod
1719

1820
- name: Build
1921
run: ./tools/mage build

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515

1616
- name: Setup Go
1717
uses: actions/setup-go@v5
18+
with:
19+
go-version-file: go.mod
1820

1921
- name: Build
2022
run: ./tools/mage build

0 commit comments

Comments
 (0)