Skip to content

Merge pull request #392 from catenax-ng/fix/esr-exclude-not-found-fro… #1057

Merge pull request #392 from catenax-ng/fix/esr-exclude-not-found-fro…

Merge pull request #392 from catenax-ng/fix/esr-exclude-not-found-fro… #1057

Workflow file for this run

name: "Spotbugs bug detection"
on:
push:
schedule:
- cron: "0 0 * * *"
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
name: spotbugs-check
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Cache maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: run maven spotbugs plugin
run: mvn clean package -DskipTests=true spotbugs:check