RDP interactive logon option #1186
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: Check API Schema Compatibility | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check-schema-compatibility: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR branch | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install just | |
| run: | | |
| cargo install --locked just@1.4.0 | |
| - name: Install npm dependencies | |
| run: | | |
| cd warpgate-web && npm ci | |
| - name: Generate API schema files | |
| run: | | |
| mkdir warpgate-web/dist | |
| just openapi-all | |
| - name: Checkout main branch to compare | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| with: | |
| ref: main | |
| path: main-branch | |
| - name: Check admin API | |
| run: | | |
| docker run --rm -t -v $(pwd):/specs:ro tufin/oasdiff breaking -f githubactions --fail-on WARN --severity-levels /specs/oasdiff-severity.txt /specs/main-branch/warpgate-web/src/admin/lib/openapi-schema.json /specs/warpgate-web/src/admin/lib/openapi-schema.json | |
| - name: Check gateway API | |
| run: | | |
| docker run --rm -t -v $(pwd):/specs:ro tufin/oasdiff breaking -f githubactions --fail-on WARN --severity-levels /specs/oasdiff-severity.txt /specs/main-branch/warpgate-web/src/gateway/lib/openapi-schema.json /specs/warpgate-web/src/gateway/lib/openapi-schema.json |