diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1225515 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Amazon Corretto 25 + uses: actions/setup-java@v4 + with: + distribution: 'corretto' + java-version: '25' + cache: 'maven' + + - name: Build & run unit tests + run: mvn -q -B test