File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 cd /home/runner/work/
6969 mkdir -p 'spotbugs+'
7070 cd 'spotbugs+'
71- wget -q https://github.com/spotbugs/spotbugs/releases/download/" ${INPUT_SPOTBUGS_VERSION}" /spotbugs-" ${INPUT_SPOTBUGS_VERSION}" .tgz
71+ wget -q " https://github.com/spotbugs/spotbugs/releases/download/${INPUT_SPOTBUGS_VERSION}/spotbugs-${INPUT_SPOTBUGS_VERSION}.tgz"
7272 tar -xzf spotbugs-"${INPUT_SPOTBUGS_VERSION}".tgz
7373 chmod +x spotbugs-"${INPUT_SPOTBUGS_VERSION}"/bin/spotbugs
7474 echo "Got spotbugs-${INPUT_SPOTBUGS_VERSION}.tgz"
8181 cd /home/runner/work/
8282 mkdir -p 'findsecbugs+'
8383 cd 'findsecbugs+'
84- wget -q https://search.maven.org/remotecontent?filepath=com/h3xstream/findsecbugs/findsecbugs-plugin/" ${INPUT_FINDSECBUGS_VERSION}" /findsecbugs-plugin-" ${INPUT_FINDSECBUGS_VERSION}" .jar
84+ wget -q " https://search.maven.org/remotecontent?filepath=com/h3xstream/findsecbugs/findsecbugs-plugin/${INPUT_FINDSECBUGS_VERSION}/findsecbugs-plugin-${INPUT_FINDSECBUGS_VERSION}.jar"
8585 echo "Got findsecbugs-plugin-${INPUT_FINDSECBUGS_VERSION}.jar"
8686 shell : bash
8787 - name : Run SpotBugs
9292 FINDSECBUGS_HOME : /home/runner/work/findsecbugs+/
9393 run : |
9494 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}
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}
9696 shell : bash
9797 - name : Upload SARIF file
9898 if : inputs.upload_sarif == 'true'
You can’t perform that action at this time.
0 commit comments