Skip to content

Add golangci-lint

Add golangci-lint #42

Triggered via pull request July 19, 2024 02:17
Status Failure
Total duration 5m 12s
Artifacts

ci.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
Test (1.21)
Command failed: go env GOPATH go: cannot find GOROOT directory: /home/runner/.cache/hermit/pkg/go-1.22.3
Test (1.20)
The job was canceled because "_1_21" failed.
Test (1.20)
The operation was canceled.
Test (1.18)
The job was canceled because "_1_21" failed.
Test (1.18)
The operation was canceled.
Test (1.17)
The job was canceled because "_1_21" failed.
Test (1.17)
The operation was canceled.
Test (1.19)
The job was canceled because "_1_21" failed.
Test (1.19)
The operation was canceled.
Go Lint: app.go#L132
deprecatedComment: use `Deprecated: ` (note the casing) instead of `DEPRECATED: ` (gocritic)
Go Lint: flags.go#L273
deprecatedComment: use `Deprecated: ` (note the casing) instead of `DEPRECATED: ` (gocritic)
Go Lint: parser.go#L324
ifElseChain: rewrite if-else to switch statement (gocritic)
Go Lint: args.go#L177
Comment should end in a period (godot)
Go Lint: args.go#L183
Comment should end in a period (godot)
Go Lint: completions.go#L15
Comment should end in a period (godot)
Go Lint: flags.go#L230
Comment should end in a period (godot)
Go Lint: flags.go#L236
Comment should end in a period (godot)
Go Lint: flags.go#L258
Comment should end in a period (godot)
Go Lint: parsers.go#L43
Comment should end in a period (godot)
Test (stable)
The job was canceled because "_1_21" failed.
Test (stable)
Runner GitHub Actions 11 did not respond to a cancelation request with 00:05:00.