name: ci on: push: branches: [main] pull_request: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: '1.22' - uses: actions/setup-python@v5 with: python-version: '3.12' - name: Install schema validation dependencies run: pip install --quiet jsonschema pyyaml # The spec-derived fixtures are validated first: if the specification and # the schemas have diverged, nothing downstream is worth building. - name: Validate schemas against spec fixtures run: make validate # Generated types must match schemas/. A stale internal/contract means a # schema change landed without regeneration. - name: Check generated code is current run: make check-generated - name: Build run: make build - name: Vet run: make vet - name: Test run: make test