Run CI on push to main #11

Merged
s1d3sw1ped merged 9 commits from ci/test-on-push into main 2026-08-31 15:47:07 -05:00
Showing only changes of commit 35d698a232 - Show all commits
+13 -5
View File
@@ -20,12 +20,20 @@ linters:
errcheck:
check-type-assertions: false
check-blank: false
# gosec: no extra settings. Broad global excludes removed (G104/G115/G301/G304/G306).
# - G301 addressed by switching cache MkdirAll to 0700 (least privilege for CDN content).
# - Remaining justified cases documented with precise //nosec (or #nosec) + comments at the call sites.
# - G104 largely eliminated by errcheck + explicit _ = handling (or defer wrappers).
# gosec: keep source-level //nosec for G104/G115/G301/G304/G306.
# G704/G705 are new taint-analysis rules (SSRF/XSS) not present in v1.64.8;
# a CDN cache proxy forwards upstream URLs and response bodies by design.
gosec:
excludes:
- G704
- G705
# v1 staticcheck checks: ["all"] meant SA* only. v2 merged stylecheck (ST*)
# and quickfix (QF*) into staticcheck; keep the previous SA*+gosimple set.
staticcheck:
checks: ["all"] # SA1019 exclusion removed (no deprecated API usages in tree)
checks:
- all
- "-ST*"
- "-QF*"
govet:
enable-all: true
disable: