diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml new file mode 100644 index 000000000..6aa917492 --- /dev/null +++ b/.github/workflows/pull-requests.yml @@ -0,0 +1,22 @@ +# Builds Pull-requests to key branches +name: Pull request CI + +on: + pull_request: + branches: + - develop + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'adopt' + + - name: Build project and run default test suite + run: mvn verify