From d8bdd7d64dcd4d6752e65097bd3c230e596a8e33 Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Mon, 23 Jan 2023 23:00:23 +0300 Subject: [PATCH] Create pull.yaml --- .github/workflows/pull.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/pull.yaml diff --git a/.github/workflows/pull.yaml b/.github/workflows/pull.yaml new file mode 100644 index 0000000..baa369e --- /dev/null +++ b/.github/workflows/pull.yaml @@ -0,0 +1,25 @@ +name: Pull Request Check + +on: + pull_request: + + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup .NET 6.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + + - name: Build project + run: dotnet build --configuration Release ./src + + - name: Test project + run: dotnet test --configuration Release ./src