Skip to content

Added build.yml to run tests on pull requests #2

Added build.yml to run tests on pull requests

Added build.yml to run tests on pull requests #2

name: Run Tests on Pull Requests
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
- ready_for_review
- unlocked
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build and Verify
run: |
./mvnw clean verify