Updated the common workflow actions #1
common-workflows.yaml
on: pull_request
Golang Validation
/
Lint golang code
23s
Golang Validation
/
Malware Scan
47s
Golang Validation
/
Yaml Lint
7s
Run gosec, unit tests, and check package coverage
/
Unit tests and package coverage
16s
Run gosec, unit tests, and check package coverage
/
GoSec
31s
Annotations
10 errors and 3 warnings
Golang Validation / Lint golang code:
api/api.go#L171
var-naming: don't use underscores in Go names; const Verbose_High should be VerboseHigh (revive)
|
Golang Validation / Lint golang code:
api/api.go#L172
var-naming: don't use underscores in Go names; const Verbose_Medium should be VerboseMedium (revive)
|
Golang Validation / Lint golang code:
api/api.go#L173
var-naming: don't use underscores in Go names; const Verbose_Low should be VerboseLow (revive)
|
Golang Validation / Lint golang code:
api/v1/api_v1_exports.go#L99
unexported-return: exported func GetIsiExports returns unexported type *v1.getIsiExportsResp, which can be annoying to use (revive)
|
Golang Validation / Lint golang code:
api/v1/api_v1_snapshots.go#L31
unexported-return: exported func GetIsiSnapshots returns unexported type *v1.getIsiSnapshotsResp, which can be annoying to use (revive)
|
Golang Validation / Lint golang code:
api/v1/api_v1_snapshots.go#L198
unexported-return: exported func GetIsiSnapshotFolderWithSize returns unexported type *v1.getIsiVolumeSizeResp, which can be annoying to use (revive)
|
Golang Validation / Lint golang code:
api/v1/api_v1_types.go#L47
var-naming: type AclRequest should be ACLRequest (revive)
|
Golang Validation / Lint golang code:
api/v1/api_v1_types.go#L93
var-naming: struct field Id should be ID (revive)
|
Golang Validation / Lint golang code:
api/v1/api_v1_types.go#L98
var-naming: struct field Id should be ID (revive)
|
Golang Validation / Lint golang code:
api/v1/api_v1_types.go#L118
var-naming: struct field Id should be ID (revive)
|
Golang Validation / Yaml Lint:
.github/workflows/release.yaml#L4
4:1 [truthy] truthy value should be one of [false, true]
|
Golang Validation / Yaml Lint:
.github/workflows/go-version.yaml#L12
12:5 [comments] too few spaces before comment
|
Golang Validation / Yaml Lint:
.github/workflows/linters.yaml#L3
3:1 [truthy] truthy value should be one of [false, true]
|