Skip to content

Commit

Permalink
Install ripgrep and dasel with apt command, delete the formal install…
Browse files Browse the repository at this point in the history
…ation of this two dependencies
  • Loading branch information
Guglielmo Gagliardi committed May 22, 2024
1 parent 77dce97 commit e1696fb
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/inshpect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,13 @@ on:

jobs:
inshpect:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Install tools
run: |
sudo apt update
sudo apt install -y fd-find
pushd /tmp
curl --output dasel \
--location https://github.com/TomWright/dasel/releases/download/v2.7.0/dasel_linux_amd64
echo "38decc82e0dcf9a5ccd22918b909a78c92ee0d919b4534b0a6d90c802936b1a0 dasel" | sha256sum --check
chmod +x dasel
mv dasel /usr/local/bin
popd
pushd /tmp
curl --output ripgrep.tar.gz \
--location https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz
echo "ee4e0751ab108b6da4f47c52da187d5177dc371f0f512a7caaec5434e711c091 ripgrep.tar.gz" | sha256sum --check
tar --extract --strip-components 1 --file ripgrep.tar.gz
mv rg /usr/local/bin
popd
sudo apt install -y fd-find ripgrep dasel
pushd /tmp
curl --output inshpect \
Expand Down

0 comments on commit e1696fb

Please sign in to comment.