Skip to content

Resolve Go lint tools from GOBIN#509

Merged
mtlynch merged 6 commits into
masterfrom
gobin
Jun 21, 2026
Merged

Resolve Go lint tools from GOBIN#509
mtlynch merged 6 commits into
masterfrom
gobin

Conversation

@mtlynch

@mtlynch mtlynch commented Jun 21, 2026

Copy link
Copy Markdown
Owner

run-go-tests now looks for go-critic, staticcheck, and errcheck in GOBIN, matching where go install places binaries when GOBIN is configured by the development shell.

run-go-tests now looks for go-critic, staticcheck, and errcheck in GOBIN, matching where go install places binaries when GOBIN is configured by the development shell.
@mtlynch mtlynch enabled auto-merge (squash) June 21, 2026 23:28
mtlynch added 2 commits June 21, 2026 23:34
run-go-tests now falls back to GOPATH/bin when GOBIN is unset, matching go install behavior in CI environments that do not configure GOBIN.
@mtlynch mtlynch disabled auto-merge June 21, 2026 23:36
mtlynch added 2 commits June 21, 2026 23:37
run-go-tests now exports GOBIN when Go leaves it unset, so go install and the lint tool paths resolve to the same directory without a separate helper variable.
@mtlynch mtlynch enabled auto-merge (squash) June 21, 2026 23:38
@mtlynch mtlynch merged commit 2217026 into master Jun 21, 2026
9 checks passed
@mtlynch mtlynch deleted the gobin branch June 21, 2026 23:42
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant