Updates for infinite loop when in text qualifier #108
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: Build and Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-ubuntu: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| name: Checkout Code | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| # As per https://github.com/NuGet/setup-nuget/issues/168#issuecomment-2576628231 | |
| # We are now required to install mono separately | |
| - name: Install Mono | |
| run: sudo apt install mono-complete | |
| - name: Setup Nuget | |
| uses: nuget/setup-nuget@v2 | |
| with: | |
| nuget-api-key: ${{ secrets.NUGET_API_KEY }} | |
| nuget-version: '5.x' | |
| - name: Install NUnit.ConsoleRunner 3.4.0 (compatibility) | |
| run: nuget install NUnit.ConsoleRunner -Version 3.4.0 -DirectDownload -OutputDirectory . | |
| - name: Install NUnit 3.11.0 (compatibility) | |
| run: nuget install NUnit -Version 3.11.0 -DirectDownload -OutputDirectory ./packages | |
| - name: Build (Framework 2.0) | |
| run: xbuild ./src/net20/src.net20.csproj | |
| - name: Build (Framework 2.0 Tests) | |
| run: xbuild ./tests/net20/tests.net20.csproj | |
| - name: Test (net20) | |
| working-directory: ./tests/net20/bin/Debug/ | |
| run: ../../../../NUnit.ConsoleRunner.3.4.0/tools/nunit3-console.exe ./tests.net20.dll | |
| - name: Build (Framework 4.0) | |
| run: xbuild ./src/net40/src.net40.csproj | |
| - name: Build (Framework 4.0 Tests) | |
| run: xbuild ./tests/net40/tests.net40.csproj | |
| - name: Test (net40) | |
| working-directory: ./tests/net40/bin/Debug | |
| run: ../../../../NUnit.ConsoleRunner.3.4.0/tools/nunit3-console.exe ./tests.net40.dll | |
| - name: Build (Framework 4.5) | |
| run: xbuild ./src/net45/src.net45.csproj | |
| - name: Build (Framework 4.5 Tests) | |
| run: xbuild ./tests/net45/tests.net45.csproj | |
| - name: Test (net45) | |
| working-directory: ./tests/net45/bin/Debug/ | |
| run: ../../../../NUnit.ConsoleRunner.3.4.0/tools/nunit3-console.exe ./tests.net45.dll | |
| - name: Build (DotNet Core 8.0 and NetStandard 2.0) | |
| run: dotnet build ./csharp-csv-reader.sln | |
| - name: SonarCloud Install | |
| run: | |
| dotnet tool update dotnet-sonarscanner --tool-path /tmp/sonar | |
| - name: Coverage Install | |
| run: | |
| dotnet tool update dotnet-coverage --tool-path /tmp/coverage | |
| - name: SonarCloud Start | |
| run: | |
| /tmp/sonar/dotnet-sonarscanner begin /k:"tspence_csharp-csv-reader" /o:"tspence" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml | |
| - name: Test (net80) | |
| run: | |
| /tmp/coverage/dotnet-coverage collect "dotnet test ./tests/net80/tests.net80.csproj" -f xml -o "coverage.xml" | |
| - name: SonarCloud End | |
| run: | |
| /tmp/sonar/dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}" |