Skip to content

Validate all .NET projects #9

Validate all .NET projects

Validate all .NET projects #9

Workflow file for this run

name: Validate all .NET projects
on:
# pull_request:
# branches:
# - main
workflow_dispatch:
jobs:
build-test:
name: Build and test .NET projects
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:6.0
steps:
- name: Check .NET version
run: dotnet --version
- name: Checkout source code
uses: actions/checkout@v2
- name: Build project
run: dotnet build
- name: Run unit tests
run: dotnet test --logger "console;verbosity=detailed"
- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: ./**/coverage.cobertura.xml
badge: true
fail_below_min: false
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '50 75'