Skip to content

Sonar fixes.

Sonar fixes. #178

Workflow file for this run

name: Build
on: [ push, workflow_dispatch ]
jobs:
build:
name: Build
permissions:
contents: read
strategy:
fail-fast: false
matrix:
java: [ '17', '21', '25' ]
os: [ windows-latest, ubuntu-latest, macOS-latest ]
runs-on: ${{ matrix.os }}
env:
MAVEN_OPTS: -Dhttp.keepAlive=false
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: zulu
java-version: ${{ matrix.java }}
- uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- if: contains(matrix.os, 'windows')
run: ./mvnw clean install -B -V -e -ntp -DtestSecret=%TEST_SECRET%
env:
TEST_SECRET: ${{ secrets.TEST_SECRET }}
- if: "!contains(matrix.os, 'windows')"
run: ./mvnw clean install -B -V -e -ntp -DtestSecret=$TEST_SECRET
env:
TEST_SECRET: ${{ secrets.TEST_SECRET }}