Skip to content

Sync DNS Resolver Nameserver List #984

Sync DNS Resolver Nameserver List

Sync DNS Resolver Nameserver List #984

Triggered via pull request January 9, 2025 08:30
Status Failure
Total duration 35s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: pkg/utils/filewatcher_test.go#L16
Error return value of `os.WriteFile` is not checked (errcheck)
lint: pkg/utils/filewatcher_test.go#L21
Error return value of `fw.w.Add` is not checked (errcheck)
lint: pkg/utils/filewatcher_test.go#L29
Error return value of `fw.Start` is not checked (errcheck)
lint: pkg/utils/filewatcher_test.go#L56
Error return value of `fd.Sync` is not checked (errcheck)
lint: pkg/utils/filewatcher_test.go#L34
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint: pkg/utils/filewatcher_test.go#L41
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint: pkg/utils/filewatcher_test.go#L63
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint: pkg/services/dns/hosts_file.go#L71
S1023: redundant `return` statement (gosimple)
lint
Process completed with exit code 2.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636