Skip to content

Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 #332

Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12

Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 #332

Workflow file for this run

name: build
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: with jdk ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17', '21' ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: ./mvnw --no-transfer-progress clean verify
sonar:
name: sonar analyse
if: ${{ github.event.sender.login != 'dependabot[bot]' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Run SonarCloud analyse
run: >
./mvnw --batch-mode --no-transfer-progress clean
org.jacoco:jacoco-maven-plugin:prepare-agent verify
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=michael-simons-github
-Dsonar.projectKey=eu.michael-simons:wro4j-spring-boot-starter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}