diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c0ac3bb --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,48 @@ +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + neo4j_version: + - "4.4.37" + - "5.1.0" + - "5.2.0" + - "5.3.0" + - "5.4.0" + - "5.5.0" + - "5.6.0" + - "5.7.0" + - "5.8.0" + - "5.9.0" + - "5.10.0" + - "5.11.0" + - "5.12.0" + - "5.13.0" + - "5.14.0" + - "5.15.0" + - "5.16.0" + - "5.17.0" + - "5.18.1" + - "5.19.0" + - "5.20.0" + - "5.21.2" + - "5.22.0" + - "5.23.0" + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn --quiet --batch-mode verify diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml deleted file mode 100644 index 91e3c37..0000000 --- a/.github/workflows/maven.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: CI - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'temurin' - cache: maven - - name: Build with Maven - run: mvn --quiet --batch-mode verify diff --git a/pom.xml b/pom.xml index b962504..d14a7e4 100644 --- a/pom.xml +++ b/pom.xml @@ -12,8 +12,7 @@ 17 17 UTF-8 - - + 5.23.0 @@ -29,7 +28,7 @@ org.neo4j neo4j - 5.23.0 + ${neo4j.version} provided @@ -59,7 +58,7 @@ org.neo4j.test neo4j-harness - 5.23.0 + ${neo4j.version} test