Implemented CONVERT and TRY_CONVERT. #144
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, pull_request] | |
| jobs: | |
| Build_and_Test: | |
| strategy: | |
| matrix: | |
| # Debug and Release might be different due to conditional compilation, so validate both. | |
| configuration: [Debug, Release] | |
| name: Build and Test (${{ matrix.configuration }}) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10 | |
| dotnet-quality: ga | |
| - name: Restore Dependencies | |
| run: dotnet restore | |
| # `dotnet format` runs the full formatter pipeline (whitespace + style + analyzers) | |
| # which catches a few IDE-prefixed rules, notably IDE0055 (Fix formatting), that | |
| # `dotnet build` skips even with EnforceCodeStyleInBuild=true. This step keeps CI | |
| # parity with what Visual Studio's IDE-side analysis flags. | |
| - name: Format Check | |
| run: dotnet format --verify-no-changes --no-restore | |
| - name: Build | |
| run: dotnet build --configuration ${{ matrix.configuration }} --no-restore -p:EnforceCodeStyleInBuild=false | |
| - name: Test | |
| run: dotnet test --configuration ${{ matrix.configuration }} --no-build --nologo |