Files
Assistant/.gitea/workflows/ci.yml
T
m 111ad75dea
CI / test (push) Successful in 11s
feat: enforce exact task diff scope
2026-08-16 16:47:06 +03:00

28 lines
696 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: 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 ./...