Bump Microsoft.CodeAnalysis.NetAnalyzers from 10.0.301 to 10.0.302 (#25) #68
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: CI | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, windows-latest ] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v6 | |
| with: | |
| dotnet-version: '10.0.x' | |
| cache: true | |
| cache-dependency-path: Directory.Packages.props | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build RustMapsApi.slnx --no-restore --configuration Release | |
| - name: Restore tools | |
| run: dotnet tool restore | |
| - name: Check formatting (ReSharper) | |
| run: | | |
| dotnet jb cleanupcode RustMapsApi.slnx --profile="ReformatAndReorder" --no-build --verbosity=ERROR | |
| git diff --exit-code | |
| - name: Test | |
| run: dotnet test RustMapsApi.slnx --no-build --configuration Release --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage | |
| - name: Upload coverage reports | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: coverage-reports-${{ matrix.os }} | |
| path: ./coverage/**/coverage.cobertura.xml | |
| retention-days: 14 |