Skip to content

Merge pull request #69 from amantinband/feature/add-unauthorized-stat… #72

Merge pull request #69 from amantinband/feature/add-unauthorized-stat…

Merge pull request #69 from amantinband/feature/add-unauthorized-stat… #72

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: 6.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 }}