Implement web_ui phase 1 runtime backbone #5
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: Spec Compliance | |
| on: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/spec-compliance.yml" | |
| - ".spec/**" | |
| - "lib/unified/spec_compliance/**" | |
| - "lib/mix/tasks/spec.*.ex" | |
| - "packages/**" | |
| jobs: | |
| package-scoped-compliance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Elixir and OTP | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| elixir-version: "1.19.0" | |
| otp-version: "27.0" | |
| - name: Install dependencies | |
| run: mix deps.get | |
| - name: Refresh spec state | |
| run: mix spec.plan | |
| - name: Run changed-package compliance | |
| run: | | |
| mkdir -p tmp | |
| mix spec.compliance.ci \ | |
| --base "${{ github.event.pull_request.base.sha }}" \ | |
| --head "${{ github.sha }}" \ | |
| --format json \ | |
| --output tmp/spec-compliance-ci.json | |
| - name: Upload compliance report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: spec-compliance-ci | |
| path: tmp/spec-compliance-ci.json |