Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

fix: lint issues after merge #2

fix: lint issues after merge

fix: lint issues after merge #2

Triggered via push January 23, 2024 16:02
Status Failure
Total duration 36s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: versionmanager/semantic/tfparser/tfparser.go#L39
undeclared name: `hcl` (typecheck)
lint: versionmanager/semantic/tfparser/tfparser.go#L40
undeclared name: `hcl` (typecheck)
lint: versionmanager/semantic/tfparser/tfparser.go#L43
undeclared name: `hcl` (typecheck)
lint: pkg/check/sha256/check.go#L50
CutSuffix not declared by package strings (typecheck)
lint: cmd/tenv/tenv.go#L37
`version` redeclared in this block (typecheck)
lint: cmd/tenv/main.go#L26
other declaration of version (typecheck)
lint: cmd/tenv/tenv.go#L46
`main` redeclared in this block (typecheck)
lint: cmd/tenv/main.go#L71
other declaration of main (typecheck)
lint: pkg/github/github.go#L38
JoinPath not declared by package url (typecheck)
lint: pkg/github/github.go#L81
JoinPath not declared by package url (typecheck)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gotofuenv/gotofuenv. Supported file pattern: go.sum
lint: pkg/consts/text/text.go#L1
package-comments: package comment should not have leading space (revive)
lint: config/config.go#L28
var-naming: const defaultTfHashicorpUrl should be defaultTfHashicorpURL (revive)
lint: config/config.go#L29
var-naming: const defaultTofuGithubUrl should be defaultTofuGithubURL (revive)
lint: config/config.go#L33
var-naming: const remoteUrlEnvName should be remoteURLEnvName (revive)
lint: config/config.go#L41
var-naming: const TfRemoteUrlEnvName should be TfRemoteURLEnvName (revive)
lint: config/config.go#L50
var-naming: const TofuRemoteUrlEnvName should be TofuRemoteURLEnvName (revive)
lint: config/config.go#L63
var-naming: struct field TfRemoteUrl should be TfRemoteURL (revive)
lint: config/config.go#L65
var-naming: struct field TofuRemoteUrl should be TofuRemoteURL (revive)
lint: config/config.go#L94
var-naming: var tfRemoteUrl should be tfRemoteURL (revive)
lint: config/config.go#L99
var-naming: var tofuRemoteUrl should be tofuRemoteURL (revive)