Fix generator whitespace bugs: ALTER TABLE ADD INDEX and WINDOW name reference #221
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: 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 | |
| - name: Archive antlr log for troubleshooting | |
| if: ${{ failure() && matrix.os == 'ubuntu-latest' }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: antlr-log | |
| path: SqlScriptDom/NUL | |
| 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 |