Skip to content

Commit 5fd6186

Browse files
committed
ci: align workflow Go versions with go.mod
1 parent 65b0db4 commit 5fd6186

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Set up Go
3939
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v5
4040
with:
41-
go-version: '1.24.6'
41+
go-version-file: go.mod
4242

4343
- name: Install goimports
4444
run: go install golang.org/x/tools/cmd/goimports@latest
@@ -91,7 +91,7 @@ jobs:
9191
- name: Set up Go
9292
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v5
9393
with:
94-
go-version: '1.24.6'
94+
go-version-file: go.mod
9595

9696
- name: Run check script
9797
run: ./scripts/check.sh --no-format

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
if: matrix.language == 'go'
3434
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v5
3535
with:
36-
go-version: "1.24.6"
36+
go-version-file: go.mod
3737

3838
- name: Initialize CodeQL
3939
uses: github/codeql-action/init@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go
2929
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v5
3030
with:
31-
go-version: "1.24.6"
31+
go-version-file: go.mod
3232

3333
- name: Build Binaries
3434
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v5
2121
with:
22-
go-version: "1.24.6"
22+
go-version-file: go.mod
2323

2424
- name: Run test script
2525
env:

0 commit comments

Comments
 (0)