diff --git a/.github/workflows/dotnet-master.yml b/.github/workflows/dotnet-master.yml new file mode 100644 index 0000000..62da0f6 --- /dev/null +++ b/.github/workflows/dotnet-master.yml @@ -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