ci / ci (pull_request) Successful in 3m11s
Co-authored-by: Claude <noreply@anthropic.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
|