Skip to content

Add docs

Add docs #35

Triggered via push February 20, 2025 13:52
Status Failure
Total duration 1m 12s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 8 warnings
Lint: internal/provider/resource/test/directory_resource_test.go#L73
string `testuser` has 8 occurrences, make it a constant (goconst)
Lint: internal/provider/resource/file_resource.go#L213
cyclomatic complexity 27 of func `(*FileResource).Read` is high (> 15) (gocyclo)
Lint: internal/provider/resource/directory_resource.go#L207
cyclomatic complexity 26 of func `(*DirectoryResource).Read` is high (> 15) (gocyclo)
Lint: internal/provider/resource/directory_resource.go#L300
cyclomatic complexity 17 of func `(*DirectoryResource).Update` is high (> 15) (gocyclo)
Lint: internal/provider/resource/file_resource.go#L316
cyclomatic complexity 16 of func `(*FileResource).Update` is high (> 15) (gocyclo)
Lint: internal/provider/resource/file_resource.go#L136
cyclomatic complexity 16 of func `(*FileResource).Create` is high (> 15) (gocyclo)
Lint: internal/provider/resource/directory_resource.go#L130
cyclomatic complexity 16 of func `(*DirectoryResource).Create` is high (> 15) (gocyclo)
Lint: internal/provider/data/directory_data_source.go#L222
hugeParam: req is heavy (104 bytes); consider passing it by pointer (gocritic)
Lint: internal/provider/data/file_data_source.go#L132
hugeParam: req is heavy (104 bytes); consider passing it by pointer (gocritic)
Lint: internal/provider/resource/directory_resource.go#L377
hugeParam: req is heavy (104 bytes); consider passing it by pointer (gocritic)
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-8f675ae23b2e3c8583c6c88787d772ea0947c8bc43481e42a4212c179c279167
Test
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.24.0-8f675ae23b2e3c8583c6c88787d772ea0947c8bc43481e42a4212c179c279167