Create dotnet-master.yml

This commit is contained in:
STAM 2021-01-13 18:42:32 +03:00 committed by GitHub
parent afa6e1adc1
commit 364af10699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

32
.github/workflows/dotnet-master.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: master
on:
push:
branches:
- 'master'
schedule:
- cron: '00 00 * * 6' # At 12:00 AM, only on Saturday
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.1
- name: Restore dependencies
run: |
cd src
dotnet restore
- name: Build
run: |
cd src
dotnet build --no-restore
- name: Test
run: |
cd src
dotnet test --no-build --verbosity normal