Skip to content

Bump com.github.spotbugs from 6.0.25 to 6.0.26 in /jhdf #363

Bump com.github.spotbugs from 6.0.25 to 6.0.26 in /jhdf

Bump com.github.spotbugs from 6.0.25 to 6.0.26 in /jhdf #363

Workflow file for this run

name: SonarQube
on:
# Trigger analysis when pushing to your main branches, and when creating a pull request.
push:
branches:
- main
- master
- develop
- 'releases/**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarqube:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Set up JDK (x64)
uses: actions/setup-java@v4
with:
java-version: '17'
architecture: 'x64'
distribution: 'temurin'
cache: 'gradle'
- name: Build
working-directory: jhdf
run: ./gradlew build
- name: Checkstyle
working-directory: jhdf
run: ./gradlew checkstyleMain checkstyleTest
- name: SpotBugs
working-directory: jhdf
run: ./gradlew spotbugsMain spotbugsTest
- name: Jacoco Coverage Report
working-directory: jhdf
run: ./gradlew jacocoTestReport
- name: Sonar
working-directory: jhdf
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
run: ./gradlew sonar --info