fix: split Dockerfile with pinned images and add CI workflow #14

Merged
sneak merged 2 commits from fix/issue-9-dockerfile-split into main 2026-03-02 21:06:53 +01:00

2 Commits

Author SHA1 Message Date
clawbot
4ccd3b6bb1 ci: pin checkout action by SHA, run on all branches
- Pin actions/checkout to full SHA (v4.2.2) to prevent mutable tag RCE
- Remove branch filter so CI runs on push to every branch, not just main
2026-03-02 12:05:39 -08:00
clawbot
e76b1cbcb5 fix: split Dockerfile with pinned images and add CI workflow
- Pin golangci-lint to v1.64.8 by sha256 digest
- Pin golang to 1.22.12 by sha256 digest
- Lint stage runs make fmt-check + make lint
- Test stage runs make test with dependency on lint stage
- Remove redundant final stage (library has no binary)
- Add fmt-check, check, hooks targets to Makefile
- Add .gitea/workflows/check.yml for CI

closes #9
2026-03-02 02:13:08 -08:00