From 2c733538d514aa48cc02d21f84bbf33bf1da4b3e Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 13 Jun 2025 18:16:59 -1000 Subject: [PATCH] ci: no need to install ripgrep --- .github/workflows/_binaries-linux-arm64-stack.yml | 1 - .github/workflows/binaries-mac-arm64.yml | 1 - .github/workflows/binaries-mac-x64.yml | 1 - .github/workflows/ci.yml | 12 ------------ 4 files changed, 15 deletions(-) diff --git a/.github/workflows/_binaries-linux-arm64-stack.yml b/.github/workflows/_binaries-linux-arm64-stack.yml index e30325bfe..ccf38451b 100644 --- a/.github/workflows/_binaries-linux-arm64-stack.yml +++ b/.github/workflows/_binaries-linux-arm64-stack.yml @@ -26,7 +26,6 @@ jobs: # - name: Check embedded files # run: | - # apt install ripgrep # tools/checkembeddedfiles # things to be cached/restored: diff --git a/.github/workflows/binaries-mac-arm64.yml b/.github/workflows/binaries-mac-arm64.yml index eefab2fd5..ef656cef4 100644 --- a/.github/workflows/binaries-mac-arm64.yml +++ b/.github/workflows/binaries-mac-arm64.yml @@ -27,7 +27,6 @@ jobs: - name: Check embedded files run: | - brew install ripgrep tools/checkembeddedfiles # caching diff --git a/.github/workflows/binaries-mac-x64.yml b/.github/workflows/binaries-mac-x64.yml index 23a483e09..004b40b78 100644 --- a/.github/workflows/binaries-mac-x64.yml +++ b/.github/workflows/binaries-mac-x64.yml @@ -27,7 +27,6 @@ jobs: - name: Check embedded files run: | - brew install ripgrep tools/checkembeddedfiles # caching diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6957e00cc..df509c548 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,20 +123,8 @@ jobs: || ( echo "could not identify commit range, continuing CI steps"; echo "do-all=true" >> $GITHUB_ENV ) - # Can't uncache to /usr/bin: - # /usr/bin/tar -xf /home/runner/work/_temp/5cef703c-9831-41db-adb3-470b839f8a0e/cache.tzst -P -C /home/runner/work/hledger/hledger --use-compress-program unzstd - # /usr/bin/tar: ../../../../../usr/bin/rg: Cannot open: Permission denied - # - name: Cache - extra tools (ripgrep) in /usr/bin - # id: extratools - # uses: actions/cache@v4 - # with: - # path: /usr/bin/rg - # key: ${{ runner.os }}-extratools # should have image version in there too - # if: env.do-all - - name: Check embedded files run: | - if [[ ! -x /usr/bin/rg ]]; then sudo apt install -y ripgrep; fi tools/checkembeddedfiles if: env.do-all