Skip to content

Rename provider and resource prefix #13

Rename provider and resource prefix

Rename provider and resource prefix #13

Triggered via push February 19, 2025 23:02
Status Failure
Total duration 1m 7s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 8 warnings
Lint: internal/provider/ssh/ssh_client.go#L126
octalLiteral: use new octal literal style, 0o755 (gocritic)
Lint: internal/provider/ssh/ssh_client.go#L119
paramTypeCombine: func(ctx context.Context, path string, content string, permissions os.FileMode) error could be replaced with func(ctx context.Context, path, content string, permissions os.FileMode) error (gocritic)
Lint: internal/provider/ssh/ssh_client_test.go#L33
octalLiteral: use new octal literal style, 0o777 (gocritic)
Lint: internal/provider/ssh/ssh_client_test.go#L42
octalLiteral: use new octal literal style, 0o777 (gocritic)
Lint: internal/provider/ssh/ssh_client_test.go#L6
File is not properly formatted (goimports)
Lint: internal/provider/data/directory_data_source.go#L222
hugeParam: req is heavy (96 bytes); consider passing it by pointer (gocritic)
Lint: internal/provider/data/file_data_source.go#L132
hugeParam: req is heavy (96 bytes); consider passing it by pointer (gocritic)
Lint: internal/provider/data/directory_data_source.go#L6
File is not properly formatted (goimports)
Lint: internal/provider/data/file_data_source.go#L6
File is not properly formatted (goimports)
Lint: internal/provider/resource/file_resource.go#L213
cyclomatic complexity 27 of func `(*FileResource).Read` is high (> 15) (gocyclo)
Test
Process completed with exit code 1.
Lint: internal/provider/ssh/ssh_block.go#L10
exported: type name will be used as ssh.SSHBlockModel by other packages, and that stutters; consider calling this BlockModel (revive)
Lint: internal/provider/ssh/ssh_block.go#L19
exported: func name will be used as ssh.SSHBlockSchema by other packages, and that stutters; consider calling this BlockSchema (revive)
Lint: internal/provider/ssh/ssh_block.go#L47
exported: func name will be used as ssh.SSHBlockDataSourceSchema by other packages, and that stutters; consider calling this BlockDataSourceSchema (revive)
Lint: internal/provider/ssh/ssh_client.go#L18
exported: type name will be used as ssh.SSHClient by other packages, and that stutters; consider calling this Client (revive)
Lint: internal/provider/ssh/ssh_pool.go#L14
exported: type name will be used as ssh.SSHPool by other packages, and that stutters; consider calling this Pool (revive)
Lint: internal/provider/ssh/ssh_client.go#L25
exported: type name will be used as ssh.SSHConfig by other packages, and that stutters; consider calling this Config (revive)
Lint
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.24.0-2fac3bf9e393e0f3508cb81ade660b017e76062ccda9ca2213ec0383c28528d6
Test
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.24.0-2fac3bf9e393e0f3508cb81ade660b017e76062ccda9ca2213ec0383c28528d6