Create dotnet-windows.yml

This commit is contained in:
Felix Weiß
2022-06-21 09:59:27 +02:00
committed by GitHub
parent 6d9c92d24f
commit 3a5cdb11c2

25
.github/workflows/dotnet-windows.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 5.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal