The GitHub Actions test workflow uses golangci-lint for linting.
Install the linter locally by
following the steps described in
golangci-lint's local installation guide. Note that on linux the guide expects you to have $GOPATH/bin included in your PATH variable.