Skip to content

build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin #173

build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin

build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin #173

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on: [ push, pull_request ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [ '8', '11', '16' ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
check-latest: true
- name: Cache test dependencies
uses: actions/cache@v4
with:
path: "~/.m2"
key: "test-cache-${{ matrix.java }}-${{ matrix.os }}"
- name: Clone
uses: actions/checkout@v4
- name: Test
run: mvn test --batch-mode --no-snapshot-updates