File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,20 +10,19 @@ Set up a workflow that builds your JVM language project, then run this Action on
1010
1111First, build your Java, Scala or other JVM language project in an Actions workflow.
1212
13- Then, set up this Action as a step in your Actions workflow, e.g. for a typical Scala project:
13+ Then, set up this Action as a step in your Actions workflow, e.g. for a typical Scala project where you have locally published a Jar file :
1414
1515``` yaml
1616 - name : Run SpotBugs with FindSecBugs
1717 uses : advanced-security/spotbugs-findsecbugs-action@v1
18- with :
19- spotbugs_target : ' target/scala-2.13/classes'
2018` ` `
2119
2220## Inputs
2321
2422* ` spotbugs_version`: The version of SpotBugs to use. Default: `4.7.3`
2523* `findsecbugs_version`: The version of FindSecBugs to use. Default: `1.12.0`
2624* `spotbugs_target`: The target directory to run SpotBugs against. Default: `target/`
25+ * `spotbugs_filename_glob`: The filenames to locate for SpotBugs, e.g. *.class, *.jar. Default: `*.jar`
2726* `upload_sarif`: Whether to upload the SARIF file to GitHub Code Scanning. Default: `true`
2827* `java_distribution`: The Java distribution to use. Default: `microsoft`
2928* `java_version`: The Java version to use. Default: `11`
You can’t perform that action at this time.
0 commit comments