ci: download rustypipe-botguard from codeberg
This commit is contained in:
parent
533cb92f51
commit
f5abfb0d93
1 changed files with 6 additions and 4 deletions
|
|
@ -27,10 +27,12 @@ jobs:
|
||||||
- name: Download rustypipe-botguard
|
- name: Download rustypipe-botguard
|
||||||
run: |
|
run: |
|
||||||
TARGET=$(rustc --version --verbose | grep "host:" | sed -e 's/^host: //')
|
TARGET=$(rustc --version --verbose | grep "host:" | sed -e 's/^host: //')
|
||||||
curl -SsL -o rustypipe-botguard.gz "https://thetadev.de/dl/rustypipe-botguard-${TARGET}.gz"
|
cd ~
|
||||||
gunzip rustypipe-botguard.gz
|
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"
|
||||||
sudo install -Dm755 rustypipe-botguard /usr/local/bin/rustypipe-botguard
|
cd /usr/local/bin
|
||||||
rm rustypipe-botguard
|
sudo tar -xJf ~/rustypipe-botguard.tar.xz
|
||||||
|
rm ~/rustypipe-botguard.tar.xz
|
||||||
|
rustypipe-botguard --version
|
||||||
|
|
||||||
- name: 📎 Clippy
|
- name: 📎 Clippy
|
||||||
run: cargo clippy --all --tests --features=rss,indicatif,audiotag -- -D warnings
|
run: cargo clippy --all --tests --features=rss,indicatif,audiotag -- -D warnings
|
||||||
|
|
|
||||||
Reference in a new issue