Bump com.github.spotbugs:spotbugs-annotations from 4.8.4 to 4.8.5 in /sonar-dependency-check-plugin #857
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |