setup: add search for current gopath and return detailed error (#41) #106
Annotations
10 errors and 2 warnings
golangci-lint:
cmd/internal/test_helper.go#L53
Error return value of `(*github.com/spf13/pflag.FlagSet).Set` is not checked (errcheck)
|
golangci-lint:
cmd/completion/completion.go#L67
Error return value of `(*github.com/spf13/cobra.Command).GenBashCompletion` is not checked (errcheck)
|
golangci-lint:
cmd/completion/completion.go#L69
Error return value of `(*github.com/spf13/cobra.Command).GenZshCompletion` is not checked (errcheck)
|
golangci-lint:
cmd/completion/completion.go#L71
Error return value of `(*github.com/spf13/cobra.Command).GenFishCompletion` is not checked (errcheck)
|
golangci-lint:
cmd/completion/completion.go#L73
Error return value of `(*github.com/spf13/cobra.Command).GenPowerShellCompletion` is not checked (errcheck)
|
golangci-lint:
bindata/compress/tar_test.go#L79
Error return value of `filepath.Walk` is not checked (errcheck)
|
golangci-lint:
bindata/compress/tar_test.go#L85
Error return value of `filepath.Walk` is not checked (errcheck)
|
golangci-lint:
util/lang/lang_test.go#L159
Error return value is not checked (errcheck)
|
golangci-lint:
config/config.go#L206
Error return value is not checked (errcheck)
|
golangci-lint:
config/config_test.go#L169
Error return value of `os.MkdirAll` is not checked (errcheck)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run actions/setup-go@v4
Restore cache failed: Dependencies file is not found in /home/runner/work/trpc-cmdline/trpc-cmdline. Supported file pattern: go.sum
|
Loading