Skip to content

Bump org.apache.maven.plugins:maven-release-plugin from 3.0.1 to 3.1.0 in /sonar-dependency-check-plugin #864

Bump org.apache.maven.plugins:maven-release-plugin from 3.0.1 to 3.1.0 in /sonar-dependency-check-plugin

Bump org.apache.maven.plugins:maven-release-plugin from 3.0.1 to 3.1.0 in /sonar-dependency-check-plugin #864

Workflow file for this run

name: Testing
on:
push:
branches: [master]
pull_request:
branches: [master]
types: [opened, synchronize, reopened]
jobs:
MavenTests:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17' , '21' ]
name: Java ${{ matrix.Java }} testing
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: Setup java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
- name: Testing with Maven
run: mvn -B clean verify
- name: SonarCloud
run: mvn -B sonar:sonar
if: ${{ matrix.java == '17' && env.SONAR_TOKEN != null}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}