Add a lint job to Github Actions to check for go fmt, vet and golangci-lint checks.
The .golangci.yml file currently excludes generated models checks (since these cannot be hand modified easily) and checks linting errors since the v2.1 release (we will fix existing errors in another PR to make it easier for review). Otherwise, the checks were taken from Conduit's .golangci.yml file.
Add a
lint
job to Github Actions to check for go fmt, vet and golangci-lint checks.The
.golangci.yml
file currently excludes generated models checks (since these cannot be hand modified easily) and checks linting errors since the v2.1 release (we will fix existing errors in another PR to make it easier for review). Otherwise, the checks were taken from Conduit's.golangci.yml
file.CI Job passes with no error: https://github.com/algorand/go-algorand-sdk/actions/runs/4996541721/jobs/8949856005?pr=534