From 5f5ac65ce947e8d2c736a15add649146c04dbe24 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Thu, 6 Feb 2025 13:21:10 +0100 Subject: [PATCH] ci: download rustypipe-botguard from codeberg --- .forgejo/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 8576b83..e7610ed 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -27,10 +27,12 @@ jobs: - name: Download rustypipe-botguard run: | TARGET=$(rustc --version --verbose | grep "host:" | sed -e 's/^host: //') - curl -SsL -o rustypipe-botguard.gz "https://thetadev.de/dl/rustypipe-botguard-${TARGET}.gz" - gunzip rustypipe-botguard.gz - sudo install -Dm755 rustypipe-botguard /usr/local/bin/rustypipe-botguard - rm rustypipe-botguard + cd ~ + curl -SsL -o rustypipe-botguard.tar.xz "https://codeberg.org/ThetaDev/rustypipe-botguard/releases/download/v0.1.0/rustypipe-botguard-v0.1.0-${TARGET}.tar.xz" + cd /usr/local/bin + sudo tar -xJf ~/rustypipe-botguard.tar.xz + rm ~/rustypipe-botguard.tar.xz + rustypipe-botguard --version - name: 📎 Clippy run: cargo clippy --all --tests --features=rss,indicatif,audiotag -- -D warnings