File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ jobs:
4242
4343 - name : Download Apache RAT
4444 run : |
45- curl -L -O https://downloads.apache.org/creadur/apache-rat-0.16.1 /apache-rat-0.16.1 -bin.tar.gz
46- tar -xzf apache-rat-0.16.1 -bin.tar.gz
45+ curl -L -O https://downloads.apache.org/creadur/apache-rat-0.17 /apache-rat-0.17 -bin.tar.gz
46+ tar -xzf apache-rat-0.17 -bin.tar.gz
4747
4848 - name : Run RAT
4949 run : |
50- java -jar apache-rat-0.16.1 /apache-rat-0.16.1 .jar -d . -E .rat-excludes > rat-report.txt
50+ java -jar apache-rat-0.17 /apache-rat-0.17 .jar -d . -E .rat-excludes > rat-report.txt
5151 cat rat-report.txt
5252 # Fail if unapproved licenses are found
53- grep -qe '^0 Unknown Licenses ' rat-report.txt && exit 0 || exit 1
53+ 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 1+ .rat-excludes
12CHANGES.md
3+ apache-rat-0.17
24go.sum
35rat-report.txt
4- apache-rat-0.16.1
5- snapcraft.yaml
6- vendor
7- .rat-excludes
6+ /snap/snapcraft.yaml
7+ vendor
You can’t perform that action at this time.
0 commit comments