ci: download rustypipe-botguard from codeberg
This commit is contained in:
parent
a0d850f8e0
commit
5f5ac65ce9
1 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue