Skip to content

Update dependency org.codehaus.mojo:versions-maven-plugin to v2.18.0 #857

Update dependency org.codehaus.mojo:versions-maven-plugin to v2.18.0

Update dependency org.codehaus.mojo:versions-maven-plugin to v2.18.0 #857

Workflow file for this run

name: Sonar
on:
push:
jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
show-progress: false
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./mvnw -B -Pcoverage verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Ddependency-check.skip=true -Dpmd.skip=true -Dcheckstyle.skip=true