Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Resolve Go lint tools from GOBIN in run-go-tests (#233) The script located gci, go-critic, staticcheck, and errcheck under $(go env GOPATH)/bin, but `go install` honors GOBIN, which our Nix dev shell sets to bin/.go. The installed binaries therefore landed in GOBIN while the script looked in GOPATH/bin, so every lint step failed with "No such file or directory". Resolve the tools from GOBIN when it is set, falling back to GOPATH/bin otherwise. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/233