ci: add staticcheck and gosec gates #3

Merged
littleisland merged 1 commit from chore/add-static-analysis into main 2026-08-26 09:10:01 +00:00
Owner

Summary

  • install pinned staticcheck 2026.1 and checksum-verified gosec 2.28.0
  • run both analyzers for branch pushes and main pull requests
  • document justified gosec suppressions and exclude the generic G104 audit

Verification

  • scripts/install-static-analysis-tools.sh
  • scripts/run-static-analysis.sh
  • CGO_ENABLED=0 go test ./...
  • go vet ./...
  • node --check static/js/app.js
  • git diff --check
  • branch CI run #42
## Summary - install pinned staticcheck 2026.1 and checksum-verified gosec 2.28.0 - run both analyzers for branch pushes and main pull requests - document justified gosec suppressions and exclude the generic G104 audit ## Verification - scripts/install-static-analysis-tools.sh - scripts/run-static-analysis.sh - CGO_ENABLED=0 go test ./... - go vet ./... - node --check static/js/app.js - git diff --check - branch CI run #42
ci: add staticcheck and gosec gates
All checks were successful
Test / test (push) Successful in 1m47s
Test / test (pull_request) Successful in 1m17s
c135b898d2
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
littleisland/shirushi!3
No description provided.