Skip to content

Add linting step to CI #157

Add linting step to CI

Add linting step to CI #157

Triggered via pull request October 31, 2024 16:49
Status Failure
Total duration 32s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Lint: svchost.go#L61
Error return value is not checked (errcheck)
Lint: disco/disco_test.go#L41
Error return value of `w.Write` is not checked (errcheck)
Lint: disco/disco_test.go#L80
Error return value of `w.Write` is not checked (errcheck)
Lint: disco/disco_test.go#L82
Error return value of `w.Write` is not checked (errcheck)
Lint: disco/disco_test.go#L133
Error return value of `d.Discover` is not checked (errcheck)
Lint: disco/disco_test.go#L301
Error return value is not checked (errcheck)
Lint: disco/disco_test.go#L452
Error return value of `url.Parse` is not checked (errcheck)
Lint: disco/host_test.go#L21
Error return value of `url.Parse` is not checked (errcheck)
Lint: disco/host_test.go#L77
Error return value of `url.Parse` is not checked (errcheck)
Lint: auth/helper_program.go#L52
appendCombine: can combine chain of 2 appends into one (gocritic)
Run Header Copyright
The following actions use a deprecated Node.js version and will be forced to run on node20: hashicorp/setup-copywrite@v1.1.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/