Skip to content

Merge pull request #451 from koraktor/dependabot/maven/org.mockito-mo… #667

Merge pull request #451 from koraktor/dependabot/maven/org.mockito-mo…

Merge pull request #451 from koraktor/dependabot/maven/org.mockito-mo… #667

Workflow file for this run

name: Maven CI
on:
push:
paths:
- pom.xml
- src/main/**/*
- .github/workflows/*
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17', '21' ]
fail-fast: false
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
name: Set up JDK ${{ matrix.java }}
- name: Compile with Maven
run: mvn compile
- name: Test with Maven
run: mvn test