Skip to content

[artifactory-release] Next development version [skipRun] #60

[artifactory-release] Next development version [skipRun]

[artifactory-release] Next development version [skipRun] #60

Workflow file for this run

name: "Static Analysis"
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
permissions:
checks: write
jobs:
spotbugs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
# Install required tools
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "8"
# Run tests
- name: Run Spotbugs
run: ./gradlew clean spotbugs
# Show Spotbugs report
- name: Show Spotbugs report
uses: jwgmeligmeyling/spotbugs-github-action@master
with:
path: "build/reports/spotbugs/main/spotbugs.xml"
if: failure()
# Stop Gradle daemon
- name: Stop Gradle
run: ./gradlew --stop
if: always()