Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: lec-bit <[email protected]>
  • Loading branch information
lec-bit committed Nov 6, 2024
1 parent 0a80f12 commit 7fa9076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ jobs:
# Since requiring code generated by the Proto compilation, execute go lint after building.
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
uses: golangci/golangci-lint-action@v6.0.0
with:
args: "--config=common/config/.golangci.yaml --out-format colored-line-number --verbose"
skip-pkg-cache: true
working-directory: .

- name: Go Test
run: |
Expand Down
4 changes: 1 addition & 3 deletions common/config/.golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,14 @@ issues:
# "/" will be replaced by current OS file path separator to properly work on Windows.
# Default: []
exclude-files:
- ".*\\.pb\\.go"
- ".*\\.gen\\.go"
- ".*_bpfeb\\.go"
- ".*_bpfel\\.go$"
- ".*bpfeb\\.go"
- ".*bpfel\\.go$"
- ".*/bpf/kmesh/bpf2go/kernelnative/enhanced/kmeshsockops_bpfel.go"
exclude-dirs:
- bpf/kmesh/bpf2go/dualengine
- bpf/kmesh/bpf2go/kernelnative
- bpf/kmesh/bpf2go/kernelnative/enhanced
exclude-rules:
# Exclude some linters from running on test files.
- path: _test\.go$|^tests/|^samples/
Expand Down

0 comments on commit 7fa9076

Please sign in to comment.