From e1696fb66a7b61c8c422ecd917458c8ba5b5323b Mon Sep 17 00:00:00 2001 From: Guglielmo Gagliardi Date: Wed, 22 May 2024 17:31:50 +0200 Subject: [PATCH] Install ripgrep and dasel with apt command, delete the formal installation of this two dependencies --- .github/workflows/inshpect.yml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/inshpect.yml b/.github/workflows/inshpect.yml index 3ce1ea1a85..9d4387f4b8 100644 --- a/.github/workflows/inshpect.yml +++ b/.github/workflows/inshpect.yml @@ -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 \