## Summary - consolidate vet, tests, lint, smoke, and cross-build into one pull-request-only job - keep binary releases strictly v-tag-only with release-only write permission - retain wrapper synchronization only for canonical wrapper changes on main - pin actions and enforce exact trigger contracts ## Verification - nix develop --command make check - trigger mutation contract - 28-workflow cross-repository actionlint audit Generated with Claude CodeReviewed-on: #47 Co-authored-by: vickydotbat <vickydotbat@tutamail.com>
26 lines
469 B
Makefile
26 lines
469 B
Makefile
SHELL := bash
|
|
.ONESHELL:
|
|
.PHONY: check test vet build smoke fmt
|
|
|
|
# Lint + unit tests. Mirrors the `test` CI job; runs green inside `nix develop`.
|
|
check: vet test
|
|
shellcheck scripts/*.sh
|
|
yamllint .gitea
|
|
bash tests/workflow-contract.sh
|
|
|
|
vet:
|
|
go vet ./...
|
|
|
|
test:
|
|
go test ./...
|
|
|
|
# Build every cmd/* binary into ./bin (gitignored — binaries are CI artifacts).
|
|
build:
|
|
scripts/build-binaries.sh
|
|
|
|
smoke: build
|
|
scripts/crucible-smoke.sh
|
|
|
|
fmt:
|
|
gofmt -l -w cmd internal
|