Skip to content

Commit 6292801

Browse files
authored
CI: Standarize reading go version from go.mod (#293)
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
1 parent 7c8ed36 commit 6292801

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/go-test.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@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2222
with:
23-
go-version: "1.24"
23+
go-version-file: go.mod
2424
check-latest: true
2525

2626
- name: Setup Buf

.github/workflows/golangci-lint.yaml

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

2424
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2525
with:
26-
go-version: 'stable'
26+
go-version-file: go.mod
2727
cache: false
2828

2929
- run: |

0 commit comments

Comments
 (0)