Pivot to MIT license and OSS-facing docs #47
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-test: | |
| name: "IntentProof CI: Build and Test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Checkout spec repository | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: IntentProof/intentproof-spec | |
| ref: main | |
| path: intentproof-spec | |
| - name: Ensure spec sdk-signing golden checkout | |
| run: | | |
| if [[ -d intentproof-spec/golden/sdk-signing ]]; then | |
| exit 0 | |
| fi | |
| git -C intentproof-spec fetch origin phase3-ecosystem-conformance | |
| git -C intentproof-spec checkout FETCH_HEAD | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25' | |
| - name: Verify module metadata | |
| run: go mod verify | |
| - name: Run tests and enforce coverage | |
| env: | |
| INTENTPROOF_SPEC_DIR: intentproof-spec | |
| run: bash ./scripts/run-coverage-gate.sh | |
| - name: Verify sdk-signing fixtures synced with spec | |
| env: | |
| INTENTPROOF_SPEC_DIR: intentproof-spec | |
| run: bash ./scripts/check-sdk-signing-fixtures-sync.sh |