3x-ui/.github/workflows
MHSanaei fa1a19c03c
style: adopt golangci-lint v2 and resolve all findings
Add .golangci.yml (v2): the standard linters plus bodyclose, errorlint, noctx, misspell, rowserrcheck, sqlclosecheck, unconvert, usestdlibvars, with gofumpt + goimports formatters. Enable the std-error-handling exclusion preset for idiomatic Close/Remove/Setenv ignores; scope-exclude SA1019 (parser.ParseDir in tools/openapigen) and ST1005 (intentional capitalized user-facing error copy that tests assert verbatim). No inline nolint directives were introduced.

Resolve all 217 findings behavior-preserving: gofumpt/goimports formatting, explicit blank assignment on intentionally ignored errors, errors.Is/errors.As and %w wrapping, context-aware stdlib calls (CommandContext/QueryContext/NewRequestWithContext/Dialer), staticcheck simplifications, removed redundant conversions, http.StatusOK and http.MethodGet, inlined the go:fix intPtr helper, and deferred sql rows Close. Add a golangci CI job mirroring the existing Go jobs.
2026-06-27 15:42:22 +02:00
..
ci.yml style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
claude-bot.yml ci(claude-bot): tune models, Copilot-style PR review, issue research mode 2026-06-23 00:43:14 +02:00
cleanup_caches.yml Run cache cleanup daily and reduce cutoff to 1 day 2026-04-21 20:36:28 +02:00
codeql.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00
docker.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00
mutation.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00
release.yml chore: bump deps and modernize test loops 2026-06-26 00:10:30 +02:00
smoke.yml chore(deploy): drop the AWS golden-image build stack 2026-06-26 00:35:34 +02:00