Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e9caaa6

Browse files
Use version in go.mod for workflows
1 parent 283d4c1 commit e9caaa6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v5
1717
- uses: actions/setup-go@v6
1818
with:
19-
go-version: "~1.22"
19+
go-version-file: "go.mod"
2020

2121
- name: Get Go cache paths
2222
id: go-cache-paths

‎.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v5
3030
- uses: actions/setup-go@v6
3131
with:
32-
go-version: 1.24.2
32+
go-version-file: "go.mod"
3333
- name: golangci-lint
3434
uses: golangci/golangci-lint-action@v8.0.0
3535
with:

‎.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v5
3636
- uses: actions/setup-go@v6
3737
with:
38-
go-version: "~1.22"
38+
go-version-file: "go.mod"
3939

4040
- name: Echo Go Cache Paths
4141
id: go-cache-paths

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /