File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ jobs:
2525
2626 - name : Download Apache RAT
2727 run : |
28- curl -L -O https://downloads.apache.org/creadur/apache-rat-0.16.1 /apache-rat-0.16.1 -bin.tar.gz
29- tar -xzf apache-rat-0.16.1 -bin.tar.gz
28+ curl -L -O https://downloads.apache.org/creadur/apache-rat-0.17 /apache-rat-0.17 -bin.tar.gz
29+ tar -xzf apache-rat-0.17 -bin.tar.gz
3030
3131 - name : Run RAT
3232 run : |
33- java -jar apache-rat-0.16.1 /apache-rat-0.16.1 .jar -d . -E .rat-excludes > rat-report.txt
33+ java -jar apache-rat-0.17 /apache-rat-0.17 .jar -d . -E .rat-excludes > rat-report.txt
3434 cat rat-report.txt
3535 # Fail if unapproved licenses are found
36- grep -qe '^0 Unknown Licenses ' rat-report.txt && exit 0 || exit 1
36+ grep -qe '^\s*Unapproved:\s*0\s*A count of unapproved licenses.$ ' rat-report.txt && exit 0 || exit 1
Original file line number Diff line number Diff line change 22go.mod
33go.sum
44rat-report.txt
5- apache-rat-0.16.1
5+ apache-rat-0.17
You can’t perform that action at this time.
0 commit comments