2021-01-13 18:42:32 +03:00
|
|
|
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
|
2021-01-14 01:19:12 +03:00
|
|
|
|
|
|
|
- name: Restore
|
|
|
|
env:
|
2021-01-14 01:29:52 +03:00
|
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
|
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
2021-01-13 18:42:32 +03:00
|
|
|
run: |
|
2021-01-15 02:19:31 +03:00
|
|
|
cd src
|
2021-01-13 18:42:32 +03:00
|
|
|
dotnet restore
|
2021-01-14 01:19:12 +03:00
|
|
|
|
2021-01-13 18:42:32 +03:00
|
|
|
- name: Build
|
2021-01-14 01:19:12 +03:00
|
|
|
env:
|
2021-01-14 01:29:52 +03:00
|
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
|
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
2021-01-13 18:42:32 +03:00
|
|
|
run: |
|
2021-01-15 02:19:31 +03:00
|
|
|
cd src
|
2021-01-13 18:42:32 +03:00
|
|
|
dotnet build --no-restore
|
2021-01-14 01:19:12 +03:00
|
|
|
|
2021-01-13 18:42:32 +03:00
|
|
|
- name: Test
|
2021-01-14 01:19:12 +03:00
|
|
|
env:
|
2021-01-14 01:29:52 +03:00
|
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
|
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
2021-01-13 18:42:32 +03:00
|
|
|
run: |
|
2021-01-15 02:19:31 +03:00
|
|
|
cd src
|
2021-01-13 18:42:32 +03:00
|
|
|
dotnet test --no-build --verbosity normal
|