Skip to content

Merge pull request #740 from JuditKnoll/mvn-target-task #3

Merge pull request #740 from JuditKnoll/mvn-target-task

Merge pull request #740 from JuditKnoll/mvn-target-task #3

Workflow file for this run

# CI Task using https://github.com/jwgmeligmeyling/spotbugs-github-action
name: Java CI with SpotBugs
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn clean install -DskipTests com.github.spotbugs:spotbugs-maven-plugin:4.8.6.1:spotbugs
- uses: jwgmeligmeyling/spotbugs-github-action@master
with:
path: '**/spotbugsXml.xml'