Skip to content

fix linting issues #365

fix linting issues

fix linting issues #365

Re-run triggered April 25, 2025 14:03
Status Failure
Total duration 2m 39s
Artifacts

ci.yml

on: pull_request
Matrix: Run Tests
Build Repo
0s
Build Repo
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
Go Generate
Error running go generate.
Go Generate
Process completed with exit code 1.
Lint: wim/lzx/lzx.go#L120
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Lint: hvsock_test.go#L622
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
Lint
issues found
Lint
Failed to restore: Cache service responded with 422
Lint: wim/wim.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
Lint: wim/decompress.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
Lint: wim/validate/main_windows.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
Lint: pkg/security/grantvmgroupaccess.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
Lint: pkg/security/grantvmgroupaccess_test.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
Lint: pkg/guid/guid_windows.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
Lint: pkg/process/process.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
Lint: pkg/process/syscall.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
Lint: pkg/bindfilter/bind_filter_test.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)