Skip to content

chore(deps): bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.0 #452

chore(deps): bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.0

chore(deps): bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.0 #452

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
include:
- java: 8
maven: verify
- java: 11
maven: verify
- java: 17
maven: verify site
- java: 18
maven: verify
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # disable shallow checkouts
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and analyze
run: xvfb-run mvn -B ${{ matrix.maven }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: matrix.java == '17'