You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
533 B

  1. name: Build and test for the pull request
  2. on:
  3. pull_request:
  4. types: [opened, synchronize]
  5. jobs:
  6. build:
  7. name: Build and test
  8. runs-on: ubuntu-latest
  9. if: "!contains(github.event.head_commit.message, '[ci skip]')"
  10. steps:
  11. - name: Checkout sources
  12. uses: actions/checkout@v4
  13. - name: Set up JDK 17
  14. uses: actions/setup-java@v4
  15. with:
  16. distribution: 'temurin'
  17. java-version: 17
  18. cache: 'maven'
  19. - name: Build with Maven
  20. run: mvn -B package