Skip to content

Commit f8a39e1

Browse files
committed
Update to Go 1.25 and golangci-lint v2.6.2
- Update all workflows to use Go 1.25 - Update golangci-lint from v1.62.2 to v2.6.2 (latest version) - v2.6.2 supports Go 1.25 and newer features
1 parent f775729 commit f8a39e1

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.23'
21+
go-version: '1.25'
2222

2323
- name: Check formatting
2424
run: |
@@ -38,12 +38,12 @@ jobs:
3838
- name: Set up Go
3939
uses: actions/setup-go@v5
4040
with:
41-
go-version: '1.23'
41+
go-version: '1.25'
4242

4343
- name: golangci-lint
4444
uses: golangci/golangci-lint-action@v6
4545
with:
46-
version: v1.62.2
46+
version: v2.6.2
4747
args: --timeout=5m ./cmd/... ./internal/... ./pkg/ast/... ./pkg/parser/... ./pkg/codegen/...
4848

4949
test:
@@ -55,7 +55,7 @@ jobs:
5555
- name: Set up Go
5656
uses: actions/setup-go@v5
5757
with:
58-
go-version: '1.23'
58+
go-version: '1.25'
5959

6060
- name: Download dependencies
6161
run: go mod download
@@ -85,7 +85,7 @@ jobs:
8585
- name: Set up Go
8686
uses: actions/setup-go@v5
8787
with:
88-
go-version: '1.23'
88+
go-version: '1.25'
8989

9090
- name: Build CLI
9191
run: go build -v -o guix ./cmd/guix
@@ -107,7 +107,7 @@ jobs:
107107
- name: Set up Go
108108
uses: actions/setup-go@v5
109109
with:
110-
go-version: '1.23'
110+
go-version: '1.25'
111111

112112
- name: Build CLI
113113
run: go build -o guix ./cmd/guix

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.23'
21+
go-version: '1.25'
2222

2323
- name: Set up Node.js
2424
uses: actions/setup-node@v4

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v5
2727
with:
28-
go-version: '1.23'
28+
go-version: '1.25'
2929

3030
- name: Build CLI
3131
run: go build -o guix ./cmd/guix

0 commit comments

Comments
 (0)