Files
Assistant/.gitea/workflows/ci.yml
T
2026-08-22 11:03:21 +03:00

32 lines
853 B
YAML

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.26.6'
- name: Active task preflight
run: go run ./cmd/devctl preflight -active dev/ACTIVE_TASK.json
- name: Independent governance verifier
run: go run ./cmd/devctl/independent
- name: Exact diff scope
run: go run ./cmd/devctl check-diff -active dev/ACTIVE_TASK.json
- name: Format check
run: test -z "$(gofmt -l .)"
- name: Architecture Sentinel
run: go run ./cmd/devctl check-architecture
- name: Test
run: go test ./...
- name: Vet
run: go vet ./...
- name: Diff whitespace check
run: git diff --check