Skip to content

Draft: Migrate from Errors to Exceptions for invalid use of library #136

Draft: Migrate from Errors to Exceptions for invalid use of library

Draft: Migrate from Errors to Exceptions for invalid use of library #136

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test Debug
run: dotnet test -c Debug --no-restore --verbosity normal --collect:"XPlat Code Coverage"
- name: Test Release
run: dotnet test -c Release --no-restore --verbosity normal --collect:"XPlat Code Coverage"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODE_COV_TOKEN }}