Skip to content

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3 #49

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3 #49

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request_target:
types: [ opened, synchronize, reopened ]
jobs:
build:
runs-on: ubuntu-latest
name: Build Java 17
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -e clean package
- name: Cache SonarCloud packages
uses: actions/cache@v2
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: |
${{ runner.os }}-sonar
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -P sonarcloud