Skip to content

feat: update goreleaser settings #50

feat: update goreleaser settings

feat: update goreleaser settings #50

Triggered via pull request January 23, 2024 21:19
Status Failure
Total duration 29s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: pkg/check/sha256/check.go#L50
CutSuffix not declared by package strings (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: versionmanager/retriever/terraform/terraformretriever.go#L56
JoinPath not declared by package url (typecheck)
lint: pkg/check/cosign/check.go#L77
Error return value of `os.WriteFile` is not checked (errcheck)
lint: versionmanager/semantic/tfparser/tfparser.go#L97
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: versionmanager/semantic/tfparser/tfparser.go#L107
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: versionmanager/semantic/tfparser/tfparser.go#L120
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: pkg/zip/zip.go#L50
Comment should end in a period (godot)
lint: versionmanager/semantic/semantic.go#L54
Comment should end in a period (godot)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/tenv/tenv. Supported file pattern: go.sum
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)
lint: pkg/download/download.go#L26
exported: func name will be used as download.DownloadBytes by other packages, and that stutters; consider calling this Bytes (revive)