File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 SPOTBUGS_HOME : /home/runner/work/spotbugs+/spotbugs-${{ inputs.spotbugs_version }}
9292 FINDSECBUGS_HOME : /home/runner/work/findsecbugs+/
9393 run : |
94- "${SPOTBUGS_HOME}"/bin/spotbugs -textui -quiet -effort:max -low -bugCategories SECURITY -pluginList "${FINDSECBUGS_HOME}"/findsecbugs-plugin-"${INPUT_FINDSECBUGS_VERSION}".jar -sarif=spotbugs.sarif "${INPUT_SPOTBUGS_TARGET}"
94+ SPOTBUGS_FILES=$(find "${INPUT_SPOTBUGS_TARGET}" -type f -exec echo -n {} \+)
95+ "${SPOTBUGS_HOME}"/bin/spotbugs -textui -quiet -effort:max -low -bugCategories SECURITY -pluginList "${FINDSECBUGS_HOME}"/findsecbugs-plugin-"${INPUT_FINDSECBUGS_VERSION}".jar -sarif=spotbugs.sarif ${SPOTBUGS_FILES}
9596 shell : bash
9697 - name : Upload SARIF file
9798 if : inputs.upload_sarif == 'true'
Original file line number Diff line number Diff line change 2020 - name : Setup Java
2121 uses : actions/setup-java@v3
2222 with :
23- distribution : ' temurin '
23+ distribution : ' microsoft '
2424 java-version : 11
2525 # do your build steps. This example uses sbt
2626 - name : Compile with sbt
3030 uses : advanced-security/spotbugs-findsecbugs-action@v1
3131 with :
3232 # set these appropriately for your project
33- spotbugs_target : ' target/scala-* /classes'
33+ spotbugs_target : ' target/scala-2.13 /classes' # cannot have globs
3434 # upload_sarif: 'true'
3535 # no_cache: 'false'
3636 # spotbugs_version: '4.7.3'
You can’t perform that action at this time.
0 commit comments