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