[Repo Assist] Add PreferOptionals parameter to XmlProvider and JsonProvider #397
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 PR | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET Core 8 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.400 | |
| - name: Cache NuGet packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.nuget/packages | |
| key: ${{ runner.os }}-nuget-${{ hashFiles('**/paket.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nuget- | |
| - name: Restore .NET local tools | |
| run: dotnet tool restore | |
| - name: Restore packages | |
| run: dotnet paket restore | |
| - name: Build and test (Release) | |
| env: | |
| FAKE_DETAILED_ERRORS: true | |
| run: dotnet run --project build/build.fsproj -- -t RunTests | |
| build-ubuntu: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET Core 8 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.400 | |
| - name: Cache NuGet packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.nuget/packages | |
| key: ${{ runner.os }}-nuget-${{ hashFiles('**/paket.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nuget- | |
| - name: Restore .NET local tools | |
| run: dotnet tool restore | |
| - name: Restore packages | |
| run: dotnet paket restore | |
| - name: Build and test | |
| run: dotnet run --project build/build.fsproj -- -t RunTests |