Skip to content

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

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

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

Triggered via pull request March 31, 2024 14:59
Status Failure
Total duration 41s
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