From 13e0a0c3e593a209ad2d4b4ac783fe3c14d8a807 Mon Sep 17 00:00:00 2001 From: Ling Bao Date: Sun, 24 May 2026 02:16:32 +1000 Subject: [PATCH 1/2] ci: add verification-only Maven workflow --- .github/workflows/maven-ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/maven-ci.yml diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml new file mode 100644 index 0000000..889d006 --- /dev/null +++ b/.github/workflows/maven-ci.yml @@ -0,0 +1,31 @@ +name: Maven CI + +on: + push: + branches: + - '**' + pull_request: + +permissions: + contents: read + +jobs: + verify: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up JDK 8 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '8' + cache: maven + + - name: Run tests + run: mvn -B test + + - name: Build package + run: mvn -B package From fec89a5290f5b395f768629592dc5913ccf46f76 Mon Sep 17 00:00:00 2001 From: Ling Bao Date: Mon, 25 May 2026 14:01:01 +1000 Subject: [PATCH 2/2] fix: align Mockito dependencies with Java 8 CI --- pom.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 32e6645..af34987 100644 --- a/pom.xml +++ b/pom.xml @@ -77,13 +77,19 @@ org.mockito mockito-core - 5.5.0 + 4.11.0 test org.mockito mockito-junit-jupiter - 5.5.0 + 4.11.0 + test + + + org.mockito + mockito-inline + 4.11.0 test