chore(CI): add golangci-lint for PRs #1
Triggered via pull request
September 18, 2024 07:53
Status
Failure
Total duration
2m 53s
Artifacts
–
Annotations
4 errors and 1 warning
lint:
bcd_sys_linux.go#L22
S1021: should merge variable declaration with assignment on next line (gosimple)
|
lint:
tracer.go#L395
S1002: should omit comparison to bool constant, can be simplified to `strings.HasPrefix(opt, prefix)` (gosimple)
|
lint:
tracer.go#L217
S1003: should use !strings.ContainsAny(url.Host, ":") instead (gosimple)
|
lint
issues found
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|