Skip to content

Commit e0486d7

Browse files
committed
refactor(ci): golangci-lint refactor
1 parent 972dd04 commit e0486d7

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,18 @@ jobs:
3939

4040
# Runs a set of commands using the runners shell
4141
- name: golangci-lint
42-
#uses: golangci/golangci-lint-action@v3
43-
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
42+
uses: reviewdog/action-golangci-lint@v2
4443
with:
45-
version: 'v1.55.1'
46-
#version: v1.45.2
47-
#version: v1.54
44+
golangci_lint_flags: '--tests=false --timeout=25m --disable-all -E errcheck'
45+
tool_name: errcheck
46+
level: info
4847
working-directory: ./tencentcloud
4948
args: --new-from-rev=origin/master -v
50-
#args: --enable-all --max-same-issues=0 --max-issues-per-linter=0 --new-from-rev=origin/master -v
49+
version: 'v1.55.1'
50+
#uses: golangci/golangci-lint-action@v3
51+
#with:
52+
#version: v1.45.2
53+
##version: v1.54
54+
#working-directory: ./tencentcloud
55+
#args: --new-from-rev=origin/master -v
56+
##args: --enable-all --max-same-issues=0 --max-issues-per-linter=0 --new-from-rev=origin/master -v

0 commit comments

Comments
 (0)