Bump System.Drawing.Common from 10.0.3 to 10.0.5 #160
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: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| defaults: | |
| run: | |
| shell: pwsh | |
| jobs: | |
| test: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up .NET Core | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '9.x' | |
| - name: dotnet build | |
| run: dotnet build --configuration Release | |
| - name: dotnet test | |
| run: dotnet test --configuration Release --no-build --collect:"XPlat Code Coverage" --results-directory ${{github.workspace}}/.build/coverage | |
| - name: ReportGenerator | |
| uses: danielpalme/[email protected] | |
| with: | |
| reports: ${{github.workspace}}/.build/coverage/**/coverage.cobertura.xml | |
| targetdir: ${{github.workspace}}/.build/coveragereport/ | |
| reporttypes: Html;MarkdownSummaryGithub | |
| title: 'Code Coverage' | |
| - name: Write PR Number | |
| if: ${{ github.event_name == 'pull_request' }} | |
| run: | | |
| New-Item -Type File -Value "${{ github.event.number }}" -Force -Path "${{github.workspace}}/.build/coveragereport/PullRequestNumber" | |
| - name: Upload Code Coverage Report | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: CodeCoverage | |
| path: ${{github.workspace}}/.build/coveragereport/ | |
| if-no-files-found: error | |
| # This will automatically mark PRs from dependabot with auto merge. | |
| # This allows them to automatically complete if they pass the rest of the CI | |
| auto-merge: | |
| if: ${{ github.event_name == 'pull_request' }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| steps: | |
| - uses: fastify/[email protected] | |
| with: | |
| # For GitHub Auto Merge to work it must be enabled on the repo. | |
| # This can be done with the script here: | |
| # https://github.com/Keboo/DotnetTemplates/blob/main/SetupRepo.ps1 | |
| # See documentation here: | |
| # https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request | |
| use-github-auto-merge: true |