ci: cache ripgrep (for checkembedded files)
This commit is contained in:
parent
176a45b12a
commit
fbd7b7d3f2
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -119,9 +119,17 @@ jobs:
|
|||||||
&& (grep -qE '^ *;' $$.gitlog || echo "do-all=true" >> $GITHUB_ENV)) \
|
&& (grep -qE '^ *;' $$.gitlog || echo "do-all=true" >> $GITHUB_ENV)) \
|
||||||
|| ( echo "could not identify commit range, continuing CI steps"; echo "do-all=true" >> $GITHUB_ENV )
|
|| ( echo "could not identify commit range, continuing CI steps"; echo "do-all=true" >> $GITHUB_ENV )
|
||||||
|
|
||||||
|
- name: Uncache extra tools (ripgrep) in /usr/bin
|
||||||
|
id: extratools
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: /usr/bin/rg
|
||||||
|
key: ${{ runner.os }}-extratools
|
||||||
|
if: env.do-all
|
||||||
|
|
||||||
- name: Check embedded files
|
- name: Check embedded files
|
||||||
run: |
|
run: |
|
||||||
sudo apt install -y ripgrep
|
if [[ ! -x /usr/bin/rg ]]; then sudo apt install -y ripgrep; fi
|
||||||
tools/checkembeddedfiles
|
tools/checkembeddedfiles
|
||||||
if: env.do-all
|
if: env.do-all
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user