Skip to content

Bump org.sonarsource.scanner.maven:sonar-maven-plugin #348

Bump org.sonarsource.scanner.maven:sonar-maven-plugin

Bump org.sonarsource.scanner.maven:sonar-maven-plugin #348

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 21 ]
name: Java ${{ matrix.java }} build
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: liberica
java-version: ${{ matrix.java }}
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots -DskipTests -P production verify