From 4e12066246214a998d2ef8d35d9905fc3c244ede Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Sun, 10 May 2020 18:48:06 +0300 Subject: [PATCH] Create CI.yml --- .github/workflows/CI.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..89a0133 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,29 @@ +name: Continious Integration + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: windows-latest + + steps: + - name: Checkout + - uses: actions/checkout@v2 + + - name: Setup .NET Core + uses: actions/setup-dotnet@v1.4.0 + with: + dotnet-version: 3.1.101 + + - name: Install dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Release --no-restore + - name: Test + run: dotnet test --no-restore --verbosity normal