Skip to content

refactor: Update .NET version in GitHub Actions workflow to 9.0.x #33

refactor: Update .NET version in GitHub Actions workflow to 9.0.x

refactor: Update .NET version in GitHub Actions workflow to 9.0.x #33

Workflow file for this run

name: .NET Coverage
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "9.0.x"
include-prerelease: true
- name: Build & Restore
run: dotnet build
- name: Test
run: dotnet test --no-build --settings CodeCoverage.runsettings --results-directory ./coverage
- name: Publish Coverage
uses: irongut/[email protected]
with:
filename: coverage/**/*.cobertura.xml
badge: true
format: markdown
- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md