Fix csharp:/ metadata uris and csharp/metadata endpoint with multiple workspace folders #1106
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| timeout-minutes: 10 | |
| strategy: | |
| matrix: | |
| os: [windows-latest, ubuntu-24.04] | |
| dotnet: [10.0.x] | |
| fail-fast: false | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: ${{ matrix.dotnet }} | |
| - name: Restore tools | |
| run: dotnet tool restore | |
| - name: Run Build | |
| run: dotnet build | |
| - name: Run Tests | |
| run: dotnet test --no-build | |
| - name: Run Fantomas check | |
| run: dotnet fantomas --check . |