Fix x goreleaser #1
static-analysis.yml
on: push
Run Go static analysis
5m 21s
Annotations
8 errors and 1 warning
Run Go static analysis:
cmd/grimoire/shell.go#L67
the channel used with signal.Notify should be buffered (SA1017)
|
Run Go static analysis:
cmd/grimoire/stratus-red-team.go#L120
should omit comparison to bool constant, can be simplified to m.cleanupRunning.Load() (S1002)
|
Run Go static analysis:
cmd/grimoire/stratus-red-team.go#L124
should omit comparison to bool constant, can be simplified to !m.cleanupSucceeded.Load() (S1002)
|
Run Go static analysis:
cmd/grimoire/stratus-red-team.go#L153
func (*RunCommand).writeToFile is unused (U1000)
|
Run Go static analysis:
pkg/grimoire/detonators/stratus_red_team.go#L22
error strings should not be capitalized (ST1005)
|
Run Go static analysis:
pkg/grimoire/logs/cloudtrail.go#L195
empty branch (SA9003)
|
Run Go static analysis:
pkg/grimoire/logs/cloudtrail.go#L219
should use strings.EqualFold instead (SA6005)
|
Run Go static analysis
Process completed with exit code 1.
|
Run Go static analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|