File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 4747
4848 # Since requiring code generated by the Proto compilation, execute go lint after building.
4949 - name : golangci-lint
50- uses : golangci/golangci-lint-action@v3.7 .0
50+ uses : golangci/golangci-lint-action@v6.0 .0
5151 with :
5252 args : " --config=common/config/.golangci.yaml --out-format colored-line-number --verbose"
5353 skip-pkg-cache : true
Original file line number Diff line number Diff line change @@ -78,16 +78,16 @@ issues:
7878 # "/" will be replaced by current OS file path separator to properly work on Windows.
7979 # Default: []
8080 exclude-files :
81- - " .*\\ .pb\\ .go"
82- - " .*\\ .gen\\ .go"
8381 - " .*_bpfeb\\ .go"
8482 - " .*_bpfel\\ .go$"
8583 - " .*bpfeb\\ .go"
8684 - " .*bpfel\\ .go$"
87- - " .*/bpf/kmesh/bpf2go/kernelnative/enhanced/kmeshsockops_bpfel.go"
85+ - " .*/bpf/kmesh/bpf2go/kernelnative/enhanced/kmeshsockops_bpfel\\ .go"
86+ - " bpf/kmesh/bpf2go/kernelnative/enhanced/kmeshsockops_bpfel\\ .go"
87+ - " .*kmeshsockops_bpfel\\ .go"
8888 exclude-dirs :
8989 - bpf/kmesh/bpf2go/dualengine
90- - bpf/kmesh/bpf2go/kernelnative
90+ - bpf/kmesh/bpf2go/kernelnative/enhanced
9191 exclude-rules :
9292 # Exclude some linters from running on test files.
9393 - path : _test\.go$|^tests/|^samples/
@@ -97,6 +97,9 @@ issues:
9797 - path : _test\.go$
9898 text : " dot-imports: should not use dot imports"
9999 # We need to use the deprecated module since the jsonpb replacement is not backwards compatible.
100+ - path : " .*/kmeshsockops_bpfel\\ .go"
101+ linters :
102+ - errcheck
100103 - linters :
101104 - staticcheck
102105 text : " SA1019: package github.com/golang/protobuf/jsonpb"
You can’t perform that action at this time.
0 commit comments