This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a01a9fc6 ci: Use latest RAT release
8a01a9fc6 is described below

commit 8a01a9fc69d9ee984c5e0513931101eeba298175
Author: Szymon Janc <szymon.j...@codecoup.pl>
AuthorDate: Fri Feb 16 17:52:21 2024 +0100

    ci: Use latest RAT release
    
    RAT 0.16.1 was released so we no longer need to use snapshots
    for SPDX support.
---
 .github/workflows/check_compliance.yml | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/check_compliance.yml 
b/.github/workflows/check_compliance.yml
index 52b8b6fa3..6a4a44566 100644
--- a/.github/workflows/check_compliance.yml
+++ b/.github/workflows/check_compliance.yml
@@ -46,13 +46,9 @@ jobs:
           fetch-depth: 0
       - name: Install Dependencies
         run: |
-             sudo apt-get update
-             sudo apt-get install -y libxml2-utils
-             wget 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/maven-metadata.xml
 -O snapshot.xml
-             SNAPSHOT=`xmllint --xpath "//latest/text()" snapshot.xml`
-             wget 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/$SNAPSHOT/maven-metadata.xml
 -O version.xml
-             VERSION=`xmllint --xpath "//snapshotVersion[1]/value/text()" 
version.xml`
-             wget 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/$SNAPSHOT/apache-rat-$VERSION.jar
 -O apache-rat.jar
+             wget 
https://dlcdn.apache.org//creadur/apache-rat-0.16.1/apache-rat-0.16.1-bin.tar.gz
+             tar zxf apache-rat-0.16.1-bin.tar.gz 
apache-rat-0.16.1/apache-rat-0.16.1.jar
+             mv apache-rat-0.16.1/apache-rat-0.16.1.jar apache-rat.jar
       - name: check licensing
         run: |
              .github/check_license.py

Reply via email to