diff --git a/.github/workflows/dotnet-develop.yml b/.github/workflows/dotnet-develop.yml new file mode 100644 index 0000000..07e024a --- /dev/null +++ b/.github/workflows/dotnet-develop.yml @@ -0,0 +1,31 @@ +name: develop + +on: + pull_request: + branches: + - '*' + tags: + - '*' + push: + branches: + - 'develop' + +jobs: + build: + + runs-on: windows-2019 + + steps: + - uses: actions/checkout@v2 + - 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 diff --git a/.github/workflows/dotnet-master.yml b/.github/workflows/dotnet-master.yml new file mode 100644 index 0000000..f81ed45 --- /dev/null +++ b/.github/workflows/dotnet-master.yml @@ -0,0 +1,28 @@ +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: 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