Skip to content

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.4.0 #194

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.4.0

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.4.0 #194

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
name: Java CI with Maven
permissions:
# set default workflow permissions to read-only for security reasons
contents: read
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
permissions:
#write permission needed for updating dependency graph
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Java 17
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven (includes running all tests)
run: mvn -B package --file pom.xml