Skip to content

Commit 032463a

Browse files
committed
Bump Go 1.27
Signed-off-by: Edward McFarlane <emcfarlane@buf.build>
1 parent 1bf51d3 commit 032463a

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
matrix:
1919
go-version:
2020
- name: latest
21-
version: 1.25.x
21+
version: 1.27.x
2222
- name: previous
23-
version: 1.24.x
23+
version: 1.26.x
2424
steps:
2525
- name: Checkout Code
2626
uses: actions/checkout@v6

‎.golangci.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ linters:
44
disable:
55
- cyclop # covered by gocyclo
66
- depguard # unnecessary for small libraries
7+
- exhaustruct # deprecated, replaced by exhaustruct_v5
78
- funlen # rely on code review to limit function length
89
- gocognit # dubious "cognitive overhead" quantification
10+
- gomodguard # deprecated, replaced by gomodguard_v2
911
- inamedparam # convention is not followed
1012
- ireturn # "accept interfaces, return structs" isn't ironclad
1113
- lll # don't want hard limits for line length
@@ -21,9 +23,10 @@ linters:
2123
settings:
2224
errcheck:
2325
check-type-assertions: true
24-
exhaustruct:
25-
include:
26-
# No zero values for param structs.
26+
exhaustruct_v5:
27+
# No zero values for param structs.
28+
explicit-mode: true
29+
enforce-patterns:
2730
- connectrpc\.com/grpchealth\..*[pP]arams
2831
forbidigo:
2932
forbid:

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ $(BIN)/license-header: Makefile
7676

7777
$(BIN)/golangci-lint: Makefile
7878
@mkdir -p $(@D)
79-
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.11.3
79+
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2
8080

8181
$(BIN)/protoc-gen-go: Makefile
8282
@mkdir -p $(@D)

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module connectrpc.com/grpchealth
22

3-
go 1.24.0
3+
go 1.26.0
44

55
retract v1.1.1 // module cache poisoned, use v1.1.2
66

0 commit comments

Comments
 (0)