Add go workflow to lint src/bpm/ #2
Annotations
10 errors and 2 warnings
Run golangci/golangci-lint-action@v3:
src/bpm/acceptance/fixtures/test-server/handlers/masked_paths.go#L54
Error return value of `cmd.Process.Kill` is not checked (errcheck)
|
Run golangci/golangci-lint-action@v3:
src/bpm/commands/logs.go#L109
Error return value of `tailCmd.Process.Signal` is not checked (errcheck)
|
Run golangci/golangci-lint-action@v3:
src/bpm/commands/trace.go#L97
Error return value of `straceCmd.Process.Signal` is not checked (errcheck)
|
Run golangci/golangci-lint-action@v3:
src/bpm/commands/version.go#L39
Error return value of `cmd.Usage` is not checked (errcheck)
|
Run golangci/golangci-lint-action@v3:
src/bpm/flock/flock_test.go#L59
Error return value of `lock.Unlock` is not checked (errcheck)
|
Run golangci/golangci-lint-action@v3:
src/bpm/flock/flock_test.go#L79
Error return value of `lock.Unlock` is not checked (errcheck)
|
Run golangci/golangci-lint-action@v3:
src/bpm/runc/adapter/adapter.go#L144
Error return value of `held.Unlock` is not checked (errcheck)
|
Run golangci/golangci-lint-action@v3:
src/bpm/acceptance/fixtures/test-server/handlers/processes.go#L39
S1038: should use fmt.Fprintf instead of fmt.Fprintln(fmt.Sprintf(...)) (but don't forget the newline) (gosimple)
|
Run golangci/golangci-lint-action@v3:
src/bpm/acceptance/fixtures/test-server/handlers/curl.go#L20
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
Run golangci/golangci-lint-action@v3:
src/bpm/acceptance/fixtures/test-server/handlers/env.go#L20
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, 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/bpm-release/bpm-release. Supported file pattern: go.sum
|
The logs for this run have expired and are no longer available.
Loading