From fa64f4e640c9c1b8aae4e641739e611a771890e3 Mon Sep 17 00:00:00 2001 From: dahn Date: Thu, 2 Apr 2026 09:35:41 +0200 Subject: [PATCH] Upgrade Apache RAT from 0.17 to 0.18 --- .github/workflows/rat.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rat.yaml b/.github/workflows/rat.yaml index 35cd44f9..41b20dc4 100644 --- a/.github/workflows/rat.yaml +++ b/.github/workflows/rat.yaml @@ -25,12 +25,12 @@ jobs: - name: Download Apache RAT run: | - curl -L -O https://downloads.apache.org/creadur/apache-rat-0.17/apache-rat-0.17-bin.tar.gz - tar -xzf apache-rat-0.17-bin.tar.gz + curl -L -O https://downloads.apache.org/creadur/apache-rat-0.18/apache-rat-0.18-bin.tar.gz + tar -xzf apache-rat-0.18-bin.tar.gz - name: Run RAT run: | - java -jar apache-rat-0.17/apache-rat-0.17.jar -d . -E .rat-excludes > rat-report.txt + java -jar apache-rat-0.18/apache-rat-0.18.jar -d . -E .rat-excludes > rat-report.txt cat rat-report.txt # Fail if unapproved licenses are found grep -qe '^\s*Unapproved:\s*0\s*A count of unapproved licenses.$' rat-report.txt && exit 0 || exit 1