Skip to content

golangci: try to set up golangci #78

golangci: try to set up golangci

golangci: try to set up golangci #78

Triggered via pull request September 8, 2024 14:40
Status Success
Total duration 1m 16s
Artifacts 2

tests.yaml

on: pull_request
unit-test
37s
unit-test
integration-test
50s
integration-test
code-coverage
11s
code-coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
unit-test: internal/executor/exec.go#L22
Error return value of `command.Start` is not checked (errcheck)
unit-test: internal/executor/exec.go#L45
Error return value of `command.Wait` is not checked (errcheck)
unit-test: internal/executor/exec.go#L21
comment-spacings: no space between comment delimiter and comment text (revive)
unit-test: internal/elfreader/retoffsets.go#L72
unhandled-error: Unhandled error in call to function bytes.Buffer.WriteString (revive)
unit-test: internal/elfreader/retoffsets.go#L73
unhandled-error: Unhandled error in call to function bytes.Buffer.WriteString (revive)
unit-test: internal/seccomputils/syscalls.go#L20
unhandled-error: Unhandled error in call to function fmt.Fprintln (revive)
unit-test: internal/analyzer/analyze.go#L29
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
unit-test: internal/analyzer/analyze.go#L65
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
unit-test: internal/analyzer/analyze.go#L80
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
unit-test: internal/elfreader/retoffsets.go#L56
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
unit-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
integration-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "integration-test", "unit-test". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
code-coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a, actions/download-artifact@v3, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
integration-test
5.83 KB
unit-test
2.13 KB