chore(deps): constrain schema validator updates #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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java: | |
| - "17" | |
| - "21" | |
| - "25" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Check out ODP specifications | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: offering-protocol/odp-specs | |
| path: .conformance/odp-specs | |
| - uses: actions/setup-java@v6 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| cache: maven | |
| - name: Set up Gradle | |
| if: matrix.java == '17' | |
| uses: gradle/actions/setup-gradle@v6 | |
| with: | |
| gradle-version: "9.5.1" | |
| - run: ./mvnw --batch-mode --no-transfer-progress verify | |
| - name: Verify clean Maven consumers | |
| if: matrix.java == '17' | |
| run: ./scripts/verify-consumer.sh | |
| - name: Verify clean Gradle consumer | |
| if: matrix.java == '17' | |
| run: ./scripts/verify-gradle-consumer.sh | |
| - name: Run shared conformance harness | |
| run: ./scripts/run-conformance.sh | |
| env: | |
| ODP_SPECS_DIR: .conformance/odp-specs | |
| - name: Upload conformance reports | |
| if: matrix.java == '17' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: odp-java-conformance | |
| path: .conformance/reports/*.json | |
| if-no-files-found: error | |
| retention-days: 7 | |
| - name: Check out Node.js reference implementation | |
| if: matrix.java == '17' | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: offering-protocol/odp-node | |
| path: .conformance/odp-node | |
| - name: Set up pnpm | |
| if: matrix.java == '17' | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| version: 11.1.3 | |
| - name: Set up Node.js | |
| if: matrix.java == '17' | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| - name: Install Node.js reference implementation | |
| if: matrix.java == '17' | |
| run: pnpm --dir .conformance/odp-node install --frozen-lockfile | |
| - name: Run Node.js interoperability | |
| if: matrix.java == '17' | |
| run: ./scripts/run-node-interoperability.sh | |
| env: | |
| ODP_NODE_DIR: .conformance/odp-node |