Skip to content

.NET 8 (#125)

.NET 8 (#125) #299

Workflow file for this run

name: CI
env:
CONFIGURATION: Release
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
include-prerelease: true
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration $Env:CONFIGURATION
- name: Test
run: dotnet test --no-build --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
- name: Upload coverage to Codecov
uses: codecov/[email protected]