File tree Expand file tree Collapse file tree 2 files changed +12
-18
lines changed
Expand file tree Collapse file tree 2 files changed +12
-18
lines changed Original file line number Diff line number Diff line change 9999 - name : Run golangci-lint
100100 uses : golangci/golangci-lint-action@v3
101101 with :
102- version : latest
103- args : --timeout=5m
102+ version : v1.54.2
103+ args : --timeout=3m
104104
105105 security :
106106 name : Security Scan
@@ -115,7 +115,8 @@ jobs:
115115 - name : Check out code
116116 uses : actions/checkout@v4
117117
118- - name : Run Gosec Security Scanner
119- uses : securecodewarrior/github-action-gosec@master
120- with :
121- args : ' ./...'
118+ - name : Install Gosec
119+ run : go install github.com/securecodewarrior/gosec/v2/cmd/gosec@latest
120+
121+ - name : Run Gosec
122+ run : gosec ./...
Original file line number Diff line number Diff line change @@ -20,18 +20,13 @@ linters-settings:
2020 goimports :
2121 local-prefixes : github.com/parevo-lab/iyzipay-go
2222
23- golint :
24- min-confidence : 0
25-
2623 govet :
2724 check-shadowing : true
25+ fieldalignment : false
2826
2927 lll :
3028 line-length : 140
3129
32- maligned :
33- suggest-new : true
34-
3530 misspell :
3631 locale : US
3732
@@ -48,10 +43,12 @@ linters-settings:
4843 multi-if : false
4944 multi-func : false
5045
46+ revive :
47+ min-confidence : 0
48+
5149linters :
5250 enable :
5351 - bodyclose
54- - deadcode
5552 - depguard
5653 - dogsled
5754 - errcheck
@@ -60,29 +57,25 @@ linters:
6057 - gocritic
6158 - gofmt
6259 - goimports
63- - golint
60+ - revive
6461 - goprintffuncname
6562 - gosec
6663 - gosimple
6764 - govet
6865 - ineffassign
69- - interfacer
7066 - lll
7167 - misspell
7268 - nakedret
7369 - rowserrcheck
7470 - staticcheck
75- - structcheck
7671 - stylecheck
7772 - typecheck
7873 - unconvert
7974 - unparam
8075 - unused
81- - varcheck
8276 - whitespace
8377
8478 disable :
85- - maligned
8679 - prealloc
8780
8881issues :
You can’t perform that action at this time.
0 commit comments