Skip to content

actions: integrating staticcheck, os matrix #18

actions: integrating staticcheck, os matrix

actions: integrating staticcheck, os matrix #18

Triggered via push August 18, 2024 09:54
Status Failure
Total duration 1m 22s
Artifacts

ci.yml

on: push
Matrix: Run CI
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Run CI (ubuntu-latest): git/git.go#L26
should omit comparison to bool constant, can be simplified to !stat.IsDir() (S1002)
Run CI (ubuntu-latest): ui/columnizer.go#L115
should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007)
Run CI (ubuntu-latest)
Process completed with exit code 1.
Run CI (macOS-latest): git/git.go#L26
should omit comparison to bool constant, can be simplified to !stat.IsDir() (S1002)
Run CI (macOS-latest): ui/columnizer.go#L115
should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007)
Run CI (macOS-latest)
Process completed with exit code 1.
Run CI (windows-latest): git/git.go#L26
should omit comparison to bool constant, can be simplified to !stat.IsDir() (S1002)
Run CI (windows-latest): ui/columnizer.go#L115
should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007)
Run CI (windows-latest): ui/stdout_writer_windows.go#L22
var procFillConsoleOutputAttribute is unused (U1000)
Run CI (windows-latest): ui/stdout_writer_windows.go#L63
should omit comparison to bool constant, can be simplified to !ok (S1002)
Run CI (windows-latest)
Process completed with exit code 1.