chore: bump ANcpLuaAnalyzersVersion to 1.20.2 (now published) #254
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
| DOTNET_NOLOGO: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Verify pinned package versions | |
| run: pwsh ./verify-published-versions.ps1 | |
| - name: Restore | |
| run: dotnet restore ANcpLua.Analyzers.slnx | |
| - name: Build | |
| # MSB4011: SDK double-import warning (harmless, tracked upstream) | |
| run: dotnet build ANcpLua.Analyzers.slnx -c Release --no-restore --warnaserror /warnnotaserror:MSB4011 | |
| test: | |
| needs: build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Test | |
| run: dotnet test --solution ANcpLua.Analyzers.slnx -c Release --report-xunit-trx --report-github --results-directory test_results | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v7 | |
| if: always() | |
| with: | |
| name: test-results-${{ matrix.os }} | |
| path: test_results | |
| retention-days: 7 |