mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 11:36:26 -08:00
This patch adds a `go vet` step in test.yml that runs a subset of analyzers against the entire tailscale/tailscale codebase, unlike golangci-lint.yml which only flags changed lines when linting pull requests. This patch also adds `go vet` checks for platform-specific code. Since running in both golangci-lint.yml and test.yml results in duplicate work, this patch moves the govet configuration from .golangci.yml to the `go vet` step in test.yml. Unfortunately, there are a few analyzers supported by golangci-lint that are not available from `go vet`. Fixes: #22645 Change-Id: Ib5227f8c2363e0ac616c3c0f7e74135b5e49017e Signed-off-by: Simon Law <[email protected]>