Adds DerivedTypeConstraint
, ReadRestrictions
and Referenceable
annotations to complex and navigation properties
#1392
Workflow file for this run
This file contains 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: Metadata Parser Validation for latest XSLT rules | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
list-conversion-settings: | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.set-conversion-settings.outputs.matrix }} | |
steps: | |
- uses: actions/checkout@v4 | |
- id: set-conversion-settings | |
run: echo "::set-output name=matrix::$(ls conversion-settings/*.json | sed 's/.*\///' | sed 's/\.[^.]*$//' | jq -R -s -c 'split("\n")[:-1]')" | |
build: | |
needs: list-conversion-settings | |
strategy: | |
matrix: | |
version: ["v1.0", "beta"] | |
settings: ${{ fromJson(needs.list-conversion-settings.outputs.matrix) }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 7.0.x | |
- name: Validate latest XSLT rules | |
run: ./scripts/run-metadata-validation.ps1 -repoDirectory "${{ github.workspace }}" -version "${{ matrix.version }}" -platformName "${{ matrix.settings }}" | |
shell: pwsh | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: openapi | |
path: openapi/* |