netbird/iface
Yury Gargay bb40325977
Update GitHub Actions and Enhance golangci-lint (#1075)
This PR showcases the implementation of additional linter rules. I've updated the golangci-lint GitHub Actions to the latest available version. This update makes sure that the tool works the same way locally - assuming being updated regularly - and with the GitHub Actions.

I've also taken care of keeping all the GitHub Actions up to date, which helps our code stay current. But there's one part, goreleaser that's a bit tricky to test on our computers. So, it's important to take a close look at that.

To make it easier to understand what I've done, I've made separate changes for each thing that the new linters found. This should help the people reviewing the changes see what's going on more clearly. Some of the changes might not be obvious at first glance.

Things to consider for the future
CI runs on Ubuntu so the static analysis only happens for Linux. Consider running it for the rest: Darwin, Windows
2023-09-04 17:03:44 +02:00
..
bind Wg ebpf proxy (#911) 2023-07-26 14:00:47 +02:00
mocks Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
address.go Mobile prerefactor (#680) 2023-02-13 18:34:56 +01:00
device_wrapper_test.go Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
device_wrapper.go Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
iface_android.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
iface_nonandroid.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
iface_test.go Feature/android route notification (#868) 2023-05-31 18:25:24 +02:00
iface_windows.go Mobile (#735) 2023-03-17 10:37:27 +01:00
iface.go Wg ebpf proxy (#911) 2023-07-26 14:00:47 +02:00
ipc_parser_android.go Fix pre-shared key query name for android configuration (#773) 2023-03-29 10:41:14 +02:00
module_linux_test.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
module_linux.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
module.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
name_darwin.go Mobile (#735) 2023-03-17 10:37:27 +01:00
name.go Mobile (#735) 2023-03-17 10:37:27 +01:00
tun_adapter.go Feature/android dns (#943) 2023-06-12 14:43:55 +02:00
tun_android.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
tun_darwin.go Mobile (#735) 2023-03-17 10:37:27 +01:00
tun_linux.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
tun_unix.go Feat linux firewall support (#805) 2023-05-29 16:00:18 +02:00
tun_windows.go Fix use wrpped device in windows (#981) 2023-06-23 10:01:22 +02:00
tun.go Feature/android dns (#943) 2023-06-12 14:43:55 +02:00
wg_configurer_android.go Mobile (#735) 2023-03-17 10:37:27 +01:00
wg_configurer_nonandroid.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00