Skip to content

Fix build: Go 1.26, golangci-lint v2, dependency and CI updates - #312

Merged
eberle1080 merged 2 commits into
mainfrom
fix/build-and-lint
Jul 23, 2026
Merged

Fix build: Go 1.26, golangci-lint v2, dependency and CI updates#312
eberle1080 merged 2 commits into
mainfrom
fix/build-and-lint

Conversation

@eberle1080

Copy link
Copy Markdown
Contributor

Build/tooling fixes split out of #307 so the validate feature can be reviewed on its own. No behavior changes intended.

  • Bump Go to 1.26.4 and update all dependencies
  • Migrate .golangci.yml to golangci-lint v2 config and fix the resulting lint errors across the codebase
  • Update CI workflows: actions/checkout v4, actions/setup-go v5 (go-version-file: go.mod), golangci-lint-action v8 with golangci-lint v2.9.0
  • Pin all GitHub Actions to commit SHAs and add a scoped nosemgrep for the local $EDITOR exec in cmd/trigger.go (satisfies semgrep)
  • Add CLAUDE.md

🤖 Generated with Claude Code

eberle1080 and others added 2 commits July 23, 2026 11:00
- bump Go to 1.26.4 and update all dependencies
- migrate .golangci.yml to golangci-lint v2 config and fix the
  resulting lint errors across the codebase
- update CI workflows: actions/checkout v4, actions/setup-go v5
  (go-version-file: go.mod), golangci-lint-action v8 with
  golangci-lint v2.9.0
- add CLAUDE.md

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Semgrep's diff-aware scan blocked the PR on 6 findings:

- github-actions-mutable-action-tag: pin every workflow action to a
  full commit SHA (with a version comment) across all workflows, not
  just the ones this PR touched. Also unifies actions/checkout to v4
  everywhere (semgrep.yml was still on v3).
- dangerous-exec-command in cmd/trigger.go: the command is the user's
  own $EDITOR (static vi/notepad fallback) run locally as themselves,
  so there is no injection surface. Add a scoped nosemgrep with a
  justification comment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@eberle1080
eberle1080 requested review from a team and jlimatampersand and removed request for a team July 23, 2026 18:06
@eberle1080
eberle1080 merged commit 0822c9b into main Jul 23, 2026
8 checks passed
@eberle1080
eberle1080 deleted the fix/build-and-lint branch July 23, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants