Skip to content

Add gocritic linter #3751

Add gocritic linter

Add gocritic linter #3751

Triggered via pull request November 21, 2023 16:55
Status Failure
Total duration 7m 12s
Artifacts

golangci-lint.yml

on: pull_request
codespell
11s
codespell
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

12 errors
lint (ubuntu-latest): iface/wg_configurer_nonandroid.go#L144
appendAssign: append result not assigned to the same slice (gocritic)
lint (ubuntu-latest): client/internal/dns/network_manager_linux.go#L125
appendAssign: append result not assigned to the same slice (gocritic)
lint (ubuntu-latest): client/internal/dns/server.go#L255
appendAssign: append result not assigned to the same slice (gocritic)
lint (ubuntu-latest): client/internal/routemanager/iptables_linux.go#L176
appendAssign: append result not assigned to the same slice (gocritic)
lint (ubuntu-latest): client/internal/routemanager/iptables_linux.go#L184
appendAssign: append result not assigned to the same slice (gocritic)
lint (ubuntu-latest)
issues found
lint (macos-latest): iface/wg_configurer_nonandroid.go#L144
appendAssign: append result not assigned to the same slice (gocritic)
lint (macos-latest): client/internal/dns/server.go#L255
appendAssign: append result not assigned to the same slice (gocritic)
lint (macos-latest)
issues found
lint (windows-latest): iface/wg_configurer_nonandroid.go#L144
appendAssign: append result not assigned to the same slice (gocritic)
lint (windows-latest): client/internal/dns/server.go#L255
appendAssign: append result not assigned to the same slice (gocritic)
lint (windows-latest)
issues found