name: CI

on:
  push:
    branches: ['4.0']
  pull_request:
    branches: ['**']

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        neo4j_version:
          - "3.5"
          - "4.3"
          - "4.4"
        neo4j_enterprise_edition:
          - "true"
          - "false"
        java_version:
          - 8
          - 11
          - 17
    steps:
      - uses: actions/checkout@v3
      - name: Set up JDK
        uses: actions/setup-java@v3.4.1
        with:
          java-version: ${{ matrix.java_version }}
          distribution: adopt
      - name: Cache ~/.m2/repository
        uses: actions/cache@v3
        with:
          path: ~/.m2/repository
          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
          restore-keys: |
            ${{ runner.os }}-maven-
      - name: Build with Maven
        run: mvn --batch-mode --show-version clean test
        env:
          NEO4J_VERSION: ${{ matrix.neo4j_version }}
          NEO4J_ENTERPRISE_EDITION: ${{ matrix.neo4j_enterprise_edition }}

name: CI

on:
  push:
    branches: ['4.0']
  pull_request:
    branches: ['**']

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        neo4j_version:
          - "3.5"
          - "4.3"
          - "4.4"
        neo4j_enterprise_edition:
          - "true"
          - "false"
        java_version:
          - 8
          - 11
          - 17
    steps:
      - uses: actions/checkout@v3
      - name: Set up JDK
        uses: actions/setup-java@v3.5.0
        with:
          java-version: ${{ matrix.java_version }}
          distribution: adopt
      - name: Cache ~/.m2/repository
        uses: actions/cache@v3
        with:
          path: ~/.m2/repository
          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
          restore-keys: |
            ${{ runner.os }}-maven-
      - name: Build with Maven
        run: mvn --batch-mode --show-version clean test
        env:
          NEO4J_VERSION: ${{ matrix.neo4j_version }}
          NEO4J_ENTERPRISE_EDITION: ${{ matrix.neo4j_enterprise_edition }}

Bump actions/setup-java from 3.4.1 to 3.5.0
Bump actions/setup-java from 3.4.1 to 3.5.0

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.4.1...v3.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>