Skip to content

Bump golangci/golangci-lint-action from 3 to 4 #2

Bump golangci/golangci-lint-action from 3 to 4

Bump golangci/golangci-lint-action from 3 to 4 #2

Triggered via pull request March 31, 2024 14:58
Status Failure
Total duration 2m 45s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
lint: dlsir.go#L194
Error return value of `os.WriteFile` is not checked (errcheck)
lint: dlsir.go#L477
Error return value of `router.SetTrustedProxies` is not checked (errcheck)
lint: config.go#L14
func `printItemList` is unused (unused)
lint: dlsir.go#L461
S1011: should replace loop with `managedPhones = append(managedPhones, filterItemList(config, "managed-phones", true)...)` (gosimple)
lint: dlsir.go#L82
SA5008: invalid XML tag: unknown option "-" (staticcheck)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/dlsir/dlsir. Supported file pattern: go.sum