Files
gitea/tools
silverwind 3648598d7d chore(build): run golangci-lint via go run (#39907)
`make lint-go` ran `go install` and then a bare `golangci-lint` from
`PATH`, which fails when `GOBIN` is not in `PATH` and overwrites any
`golangci-lint` installed there. It now uses `go run -exec 'env
GOOS=<target>'`, which builds golangci-lint for the host and passes the
lint target `GOOS` only to golangci-lint.

`deps-tools` prebuilds the tools with `go run -exec true` instead of `go
install`, because `go install` does not fill the executable cache that
`go run` uses.

Also drops the unused `TAGS` env and the redundant OS name in
`--build-tags`.
2026-10-21 05:30:19 +00:00
..
2025-10-23 09:07:39 +00:00
2025-10-23 09:07:39 +00:00
…