Fix XmlForClause and JsonForClause FirstTokenIndex in subqueries #115
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: pr-validation | |
on: | |
pull_request | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v2 | |
with: | |
global-json-file: global.json | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build dirs.proj | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
needs: build | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v2 | |
with: | |
global-json-file: global.json | |
- name: Disable strong name validation | |
if: matrix.os == 'windows-latest' | |
shell: pwsh | |
run: | | |
.\disableStrongName.ps1 | |
- name: Run tests Windows | |
if: matrix.os == 'windows-latest' | |
run: dotnet test | |
- name: Run tests Linux | |
if: matrix.os == 'ubuntu-latest' | |
run: dotnet test /p:TargetFramework=net8.0 |