File tree Expand file tree Collapse file tree 2 files changed +2
-21
lines changed
Expand file tree Collapse file tree 2 files changed +2
-21
lines changed Original file line number Diff line number Diff line change 5151
5252 - name : Run go fmt check
5353 working-directory : ./sidekick
54+ shell : bash
5455 run : |
5556 if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
5657 echo "The following files are not formatted:"
@@ -110,7 +111,7 @@ jobs:
110111 - name : Run Gosec Security Scanner
111112 run : |
112113 # Install gosec
113- go install github.com/securecodewarrior/gosec/v2/ cmd/gosec@latest
114+ go install github.com/securecodewarrior/gosec/cmd/gosec@latest
114115 # Run gosec scan
115116 gosec -no-fail -fmt sarif -out gosec-results.sarif ./sidekick/...
116117
Original file line number Diff line number Diff line change @@ -70,38 +70,18 @@ linters:
7070 disable-all : true
7171 enable :
7272 - bodyclose
73- - deadcode
74- - depguard
75- - dogsled
76- - dupl
7773 - errcheck
78- - exportloopref
7974 - exhaustive
80- - goconst
81- - gocritic
82- - gocyclo
8375 - gofmt
8476 - goimports
85- - gomnd
86- - goprintffuncname
87- - gosec
8877 - gosimple
8978 - govet
9079 - ineffassign
91- - lll
9280 - misspell
93- - nakedret
94- - noctx
95- - nolintlint
96- - revive
9781 - staticcheck
98- - structcheck
99- - stylecheck
10082 - typecheck
10183 - unconvert
102- - unparam
10384 - unused
104- - varcheck
10585 - whitespace
10686
10787issues :
You can’t perform that action at this time.
0 commit comments