Skip to content

Create go1.yml

Create go1.yml #63

GitHub Actions / golangci succeeded Dec 19, 2024 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (31)

cmd/config/parse.go:6: File is not goimports-ed (goimports)
cmd/initialize/init.go:4: File is not goimports-ed (goimports)
cmd/list/list.go:4: File is not goimports-ed (goimports)
testing/cli_test.go:25: Using the variable on range scope tt in function literal (scopelint)
testing/cli_test.go:26: Using the variable on range scope tt in function literal (scopelint)
testing/cli_test.go:29: Using the variable on range scope tt in function literal (scopelint)
testing/fixtures/fixures.go:37: Consider preallocating r1 (prealloc)
testing/fixtures/command_set_fixtures.go:28: string [testing/fixtures/command_unset_fixtures.go:43](https://github.com/gopinath-langote/1build/blob/a540cda0a72abbf05289db8ae3e9305cd0fe63b4/testing/fixtures/command_unset_fixtures.go#L43): stringproject: Sample Project
testing/fixtures/execute_cmd_fixtures.go:26: string [testing/fixtures/command_init_fixtures.go:64](https://github.com/gopinath-langote/1build/blob/a540cda0a72abbf05289db8ae3e9305cd0fe63b4/testing/fixtures/command_init_fixtures.go#L64): string
cmd/config/parse.go:21: OneBuildConfigFileName is a global variable (gochecknoglobals)
cmd/initialize/init.go:11: Cmd is a global variable (gochecknoglobals)
cmd/set/set.go:14: Cmd is a global variable (gochecknoglobals)
cmd/del/delete.go:14: shouldDelete is a global variable (gochecknoglobals)
cmd/del/delete.go:17: Cmd is a global variable (gochecknoglobals)
testing/utils/test_utils.go:16: regex is a global variable (gochecknoglobals)
testing/cli_test.go:15: binaryName is a global variable (gochecknoglobals)
testing/cli_test.go:16: binaryPath is a global variable (gochecknoglobals)
testing/cli_test.go:17: testDirectory is a global variable (gochecknoglobals)
cmd/initialize/init.go:46: don't use init function (gochecknoinits)
cmd/del/delete.go:52: don't use init function (gochecknoinits)
cmd/root.go:48: don't use init function (gochecknoinits)
testing/utils/test_utils.go:14: line is 144 characters (lll)
testing/fixtures/command_set_fixtures.go:138: line is 136 characters (lll)
testing/fixtures/command_unset_fixtures.go:135: line is 136 characters (lll)
cmd/config/io.go:19: G304: Potential file inclusion via variable (gosec)
testing/fixtures/command_init_fixtures.go:34: G304: Potential file inclusion via variable (gosec)
testing/fixtures/command_init_fixtures.go:57: G304: Potential file inclusion via variable (gosec)
testing/cli_test.go:32: G204: Subprocess launched with variable (gosec)
testing/cli_test.go:67: G204: Subprocess launched with variable (gosec)