noverde / pequi

URL shortener with multi database support
https://github.com/noverde/pequi
MIT License
11 stars 8 forks source link

Test workflow failing on Lint step #23

Closed julianolf closed 7 months ago

julianolf commented 7 months ago

The test workflow is failing due to some issue with the linter tool.

Run golint ./...
/home/runner/work/_temp/25a14027-9883-4832-8711-ab0cdfbcc658.sh: line 1: golint: command not found
Error: Process completed with exit code 127.

Looking at the dependencies installation step it seems it did downloaded the package though.

go: downloading golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
go: upgraded golang.org/x/lint v0.0.0-20200302205851-738671d3881b => v0.0.0-20210508222113-6edffad5e616

Instead of trying to figure out what is going on with the tool I believe it's better to just remove it as the project has been abandoned.

NOTE: Golint is https://github.com/golang/go/issues/38968. There's no drop-in replacement for it, but tools such as Staticcheck and go vet should be used instead.

https://github.com/golang/lint

Maybe switch to the mentioned tool Staticcheck.