Skip to content

Update

Update #1161

name: on-push-do-test
on:
push:
branches:
- feature/*
jobs:
build:
strategy:
matrix:
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- uses: dotnet/nbgv@master
id: nbgv
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c debug --no-restore
- name: Test
run: dotnet test -c debug --no-build --verbosity normal