Skip to content

Update README.md

Update README.md #20

Workflow file for this run

name: Build and run tests
on:
push
env:
DOTNET_SDK_VERSION: '8.0.x'
DOTNET_TFM: 'net8.0'
jobs:
build-and-test:
runs-on: windows-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v3
- name: Setup DotNet ${{ env.DOTNET_SDK_VERSION }} Environment
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
- name: 'Build .NET Projects'
shell: pwsh
run: |
dotnet build --configuration Release
dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=opencover --configuration Release
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: lassevk/DiffLib2