File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff line change 11module connectrpc.com/grpchealth
22
3- go 1.24 .0
3+ go 1.26 .0
44
55retract v1.1.1 // module cache poisoned, use v1.1.2
66
You can’t perform that action at this time.
0 commit comments