[Repo Assist] perf: avoid ToCharArray allocations in HtmlParser #472
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: | |
| check-format: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup .NET 10 | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.201 | |
| - name: Cache NuGet packages | |
| uses: actions/cache@v5 | |
| 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: Check formatting | |
| run: dotnet run --project build/build.fsproj -- -t CheckFormat | |
| build-windows: | |
| runs-on: windows-latest | |
| timeout-minutes: 40 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup .NET 10 | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.201 | |
| - name: Cache NuGet packages | |
| uses: actions/cache@v5 | |
| 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 | |
| timeout-minutes: 40 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup .NET 10 | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.201 | |
| - name: Cache NuGet packages | |
| uses: actions/cache@v5 | |
| 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 |