netbird/client/cmd
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
..
down.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
login_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
login.go Close PKCE Listening Port After Authorization (#1110) 2023-08-29 09:13:27 +02:00
root_test.go Revert preshared-key shorthand flag (#671) 2023-02-06 10:35:37 +01:00
root.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
service_controller.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
service_installer.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
service.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
ssh.go fix error codes on cli 2023-06-23 16:27:10 +02:00
status_test.go Use local time zone for display last update changes (#825) 2023-04-27 16:02:00 +02:00
status.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
testutil.go Feature/ephemeral peers (#1100) 2023-09-04 11:37:39 +02:00
up_daemon_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
up.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
version.go Add version info command to signal server (#739) 2023-03-15 07:54:51 +01:00