Changes:
- Update the build system to use golangci-lint instead of the deprecated golint tool.
- The
make check
target can now be instructed to skip installing and running golangci-lint by settingSKIP_STATIC_CHECK=true
.
Packagers beware:
- The build system now expects Go 1.16 or newer.
- Since the results of
golangci-lint
are known to be unstable over time, esp. between different Go versions, packagers are advised to set the environment variableSKIP_STATIC_CHECK=true
when runningmake check
(as explained above).