Bump Meziantou.Analyzer from 3.0.54 to 3.0.56 (#396) #578
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 Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: "0 8 * * 1" # At 08:00 on Monday | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| contents: read | |
| jobs: | |
| unit-test: | |
| runs-on: ubuntu-latest | |
| env: | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 'true' | |
| steps: | |
| - name: Setup .Net | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 # This will fetch the full history | |
| - name: Tool restore | |
| run: dotnet tool restore | |
| - name: Restore | |
| run: dotnet restore --nologo | |
| - name: Build | |
| run: dotnet build --no-restore --nologo --configuration Release | |
| - name: Test | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PAYPAL_CLIENT_ID: ${{ secrets.PAYPAL_CLIENT_ID }} | |
| PAYPAL_CLIENT_SECRET: ${{ secrets.PAYPAL_CLIENT_SECRET }} | |
| run: dotnet test --no-build --configuration Release --results-directory TestResults --report-trx | |
| - name: 📄 Publish test results | |
| uses: dorny/test-reporter@v3.0.0 | |
| if: always() | |
| with: | |
| name: 'xUnit Test Results' | |
| path: 'TestResults/*.trx' | |
| reporter: dotnet-trx | |
| code-style: | |
| runs-on: ubuntu-latest | |
| env: | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 'true' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup .Net 10.0.x | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: .Net Format | |
| run: dotnet format --no-restore --verify-no-changes -v diag |