Skip to content

Commit 4b9abba

Browse files
JAORMXclaude
andcommitted
Add contributing guide, use go.mod for CI Go version
Add CONTRIBUTING.md with development workflow and task reference. Replace hardcoded GO_VERSION env with go-version-file: go.mod so CI always uses the version declared in go.mod. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 444f2bd commit 4b9abba

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ permissions:
1313
contents: read
1414
packages: read
1515

16-
env:
17-
GO_VERSION: "1.25"
18-
1916
jobs:
2017
test:
2118
name: Test (${{ matrix.name }})
@@ -32,7 +29,7 @@ jobs:
3229
- name: Set up Go
3330
uses: actions/setup-go@v6
3431
with:
35-
go-version: ${{ env.GO_VERSION }}
32+
go-version-file: go.mod
3633
cache: true
3734

3835
- name: Set up Task
@@ -58,7 +55,7 @@ jobs:
5855
- name: Set up Go
5956
uses: actions/setup-go@v6
6057
with:
61-
go-version: ${{ env.GO_VERSION }}
58+
go-version-file: go.mod
6259
cache: true
6360

6461
- name: Run golangci-lint
@@ -78,7 +75,7 @@ jobs:
7875
- name: Set up Go
7976
uses: actions/setup-go@v6
8077
with:
81-
go-version: ${{ env.GO_VERSION }}
78+
go-version-file: go.mod
8279
cache: true
8380

8481
- name: Set up Task
@@ -121,7 +118,7 @@ jobs:
121118
- name: Set up Go
122119
uses: actions/setup-go@v6
123120
with:
124-
go-version: ${{ env.GO_VERSION }}
121+
go-version-file: go.mod
125122
cache: true
126123

127124
- name: Set up Task

0 commit comments

Comments
 (0)