Commit Graph

2 Commits

Author SHA1 Message Date
Grok
428acea198 ci: add ci-build.sh, install scripts, and lint job
- ci-build.sh for parity with gostations (Linux Build step in workflow)
- scripts/gralculator-install.sh and .ps1 modeled directly on gostations (platform detection, download, checksum verify with sha256sum/shasum, extract, install to ~/.local/bin, versioned)
- Updated build.yml: Linux Build now calls ./ci-build.sh; added lint job (golangci-lint-action@v7 v2.1.6 like grokkit) after test, build now needs [test, lint]
- release.yml already prepared to include the scripts if present
- All modeled closely on gostations/grokkit for consistency
2026-06-06 15:30:50 +01:00
Grok
db2c51f9dc ci: add Gitea Actions workflows (build/CI + release) modeled after gostations and grokkit
- build.yml: CI on push/PR with Go 1.24.2, test-short via Makefile, Linux build, verify binary (go mod tidy to ensure clean sums for deps like lipgloss/bubbletea)
- release.yml: on v* tags, cross build via make cross (with VERSION/COMMIT/DATE ldflags), prepare tar.gz + checksums (gralculator-*), conditional install scripts, create Gitea release via API (RELEASE_TOKEN), upload assets. Customized release notes for this TUI calculator project.
- Very close structure, caching, tidy steps, asset prep, and release creation/upload logic to the reference projects.
- Uses our existing Makefile cross target and internal/version ldflags.
- No external ci-build.sh needed; leverages Makefile directly for simplicity.
2026-06-06 15:21:02 +01:00