Skip to content

Commit 406e3d6

Browse files
committed
Use go version from mod file
1 parent 96bc481 commit 406e3d6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@v6
2222
with:
23-
go-version: '1.25'
23+
go-version-file: "go.mod"
2424
- name: golangci-lint
2525
uses: golangci/golangci-lint-action@v8
2626
with:
@@ -41,7 +41,7 @@ jobs:
4141
- name: Setup Go
4242
uses: actions/setup-go@v6
4343
with:
44-
go-version: '1.25'
44+
go-version-file: "go.mod"
4545
- run: just test
4646

4747
test-integration:
@@ -74,7 +74,7 @@ jobs:
7474
- name: Setup Go
7575
uses: actions/setup-go@v6
7676
with:
77-
go-version: '1.25'
77+
go-version-file: "go.mod"
7878
- name: Update APT
7979
run: sudo apt-get update
8080
- name: Install Qemu

0 commit comments

Comments
 (0)