golangci-lint provides the official GitHub Action and using this is recommend in the official document:
https://golangci-lint.run/usage/install/#github-actions
We will get the following benefits from the action:
- It can be much faster than the simple binary installation.
- It creates GitHub annotations for found issues.