Skip to content

ci: consolidate workflows and add Nix auto-vendorHash job - #13

Merged
alcxyz merged 5 commits into
mainfrom
feature/ci-nix-alignment
Apr 29, 2026
Merged

alcxyz merged 5 commits into
mainfrom
feature/ci-nix-alignment

Conversation

@alcxyz

@alcxyz alcxyz commented Apr 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Consolidate ci.yml + release.yml into single ci.yml with Check → Release → Nix structure
  • Delete redundant release.yml (tag-triggered fallback)
  • Upgrade golangci-lint-action to v7 with pinned v2.11
  • Add gofmt check, go.mod tidy check, archive validation
  • Add Nix job that auto-updates vendorHash in default.nix after each release
  • Fix gofmt issues in config and notify packages
  • Aligns CI structure with grove (ADR-008): Check → Release → Nix

Pipeline structure

  1. Check — build, vet, gofmt, lint, test
  2. Release — snapshot validation, auto-tag, GoReleaser (binaries, Homebrew, AUR)
  3. Nix — verify/update vendorHash (only after successful release on main)

Test plan

  • go build ./..., go vet ./..., go test -race ./... pass
  • gofmt -l . clean
  • CI checks pass

alcxyz and others added 5 commits April 29, 2026 16:36
- Merge release.yml into ci.yml and delete the redundant file
- Replace separate test (matrix) + lint jobs with a single Check job
  running on ubuntu-latest only
- Upgrade golangci-lint-action v6 → v7 with pinned version v2.11
- Add gofmt and go.mod tidy checks
- Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 env var
- Narrow PR trigger to branches: [main] only
- Add GoReleaser snapshot + archive validation on PRs and main pushes
- Add Nix job that verifies/auto-updates vendorHash in default.nix
- Fix auto-tag to check both local and remote tags before creating
Handle Close() return values in defer statements and lowercase
error string per Go conventions.
@alcxyz
alcxyz merged commit 861f00c into main Apr 29, 2026
3 checks passed
@alcxyz
alcxyz deleted the feature/ci-nix-alignment branch April 29, 2026 15:12
alcxyz added a commit that referenced this pull request Jun 3, 2026
ci: consolidate workflows and add Nix auto-vendorHash job
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.

1 participant