Skip to content

Commit

Permalink
ci: change ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
light-speak committed Oct 29, 2024
1 parent 96471b6 commit dab359d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Run golangci-lint
run: |
golangci-lint run --timeout=5m \
--skip-dirs=vendor,third_party,node_modules \
--skip-files=".*\\.pb\\.go$,.*\\.gen\\.go$,.*\\.mock\\.go$" \
--skip-dirs=vendor,third_party,node_modules,plugins,config,graphql,net,example,internal \
--skip-files=".*\\.pb\\.go$,.*\\.gen\\.go$,.*\\.mock\\.go$,.*\\.tpl$,.*_gen\\.go$" \
--modules-download-mode=readonly \
./...
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ run:
timeout: 5m
modules-download-mode: readonly
skip-dirs-use-default: true
build-tags: []
allow-parallel-runners: true
go: '1.22'
skip-dirs:
- vendor
Expand All @@ -12,6 +10,8 @@ run:
- ".*\\.pb\\.go$"
- ".*\\.gen\\.go$"
- ".*\\.mock\\.go$"
- ".*\\.tpl$"
- ".*_gen\\.go$"

output:
format: colored-line-number
Expand Down

0 comments on commit dab359d

Please sign in to comment.