diff --git a/.github/workflows/pr-pipeline.yml b/.github/workflows/pr-pipeline.yml new file mode 100644 index 00000000..381fe37c --- /dev/null +++ b/.github/workflows/pr-pipeline.yml @@ -0,0 +1,24 @@ +name: PR Pipeline + +on: + pull_request: + branches: [ "main" ] + +jobs: + build: + name: PR Pipeline + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0 + + - name: Build with dotnet + run: dotnet build --configuration Release + + - name: dotnet test + run: dotnet test --configuration Release --no-build