fix(BREV-1638): fix compilation error on shadeform validation test #106
ci.yml
on: pull_request
Test and Lint
1m 11s
Matrix: Cross-platform Build
Annotations
20 errors and 2 warnings
|
Test and Lint:
internal/shadeform/v1/validation_test.go#L41
TestInstanceTypeFilter's subtests should call t.Parallel (tparallel)
|
|
Test and Lint:
internal/shadeform/v1/instance.go#L6
File is not properly formatted (gofumpt)
|
|
Test and Lint:
internal/shadeform/v1/configuration.go#L12
File is not properly formatted (gofumpt)
|
|
Test and Lint:
internal/shadeform/v1/capabilities.go#L4
File is not properly formatted (gofumpt)
|
|
Test and Lint:
internal/shadeform/v1/ufw.go#L34
assignOp: replace `script = script + fmt.Sprintf("%v\n", command)` with `script += fmt.Sprintf("%v\n", command)` (gocritic)
|
|
Test and Lint:
internal/shadeform/v1/client.go#L72
field `projectID` is unused (unused)
|
|
Test and Lint:
internal/shadeform/v1/instance.go#L356
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
|
Test and Lint:
internal/shadeform/v1/instance.go#L123
var-naming: method addSshKey should be addSSHKey (revive)
|
|
Test and Lint:
internal/shadeform/v1/instance.go#L17
G101: Potential hardcoded credentials (gosec)
|
|
Test and Lint:
internal/shadeform/v1/instance.go#L20
cyclomatic complexity 19 of func `(*ShadeformClient).CreateInstance` is high (> 15) (gocyclo)
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Cannot open: File exists
|
|
Test and Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
|
Test and Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|