From 737ae1227809f1ef28ae4d76b4f6d621476b6d99 Mon Sep 17 00:00:00 2001 From: Vedant Koditkar Date: Sat, 22 May 2021 17:07:42 +0530 Subject: [PATCH] add ci-build workflow --- .github/workflows/ci_build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci_build.yml diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml new file mode 100644 index 00000000..659168fc --- /dev/null +++ b/.github/workflows/ci_build.yml @@ -0,0 +1,25 @@ +name: .NET + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal