File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -778,6 +778,10 @@ jobs:
778
778
runs-on : ubuntu-latest
779
779
name : Check for todo comments
780
780
steps :
781
+ - name : Install ripgrep
782
+ run : |
783
+ sudo apt-get update
784
+ sudo apt-get install ripgrep
781
785
- uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
782
786
- name : Run todo check
783
787
run : ./ci/check_todo.sh
@@ -788,6 +792,10 @@ jobs:
788
792
steps :
789
793
- name : Install yq (for YAML parsing)
790
794
run : go install github.com/mikefarah/yq/v4@latest
795
+ - name : Install ripgrep
796
+ run : |
797
+ sudo apt-get update
798
+ sudo apt-get install ripgrep
791
799
- uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
792
800
- name : Run dependency check
793
801
# Ensure that Git hooks execute successfully.
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ set -euo pipefail
16
16
# would mean that we couldn't use XODO comments in this script.
17
17
KEYWORD=$( echo XODO | sed -e ' s/X/T/' )
18
18
19
+ # Make sure `rg` is installed (if this fails, `set -e` above will cause the
20
+ # script to exit).
21
+ rg --version > /dev/null
22
+
19
23
# -H: Print filename (default for multiple files/recursive)
20
24
# -n: Print line number
21
25
# -w: Match whole words
You can’t perform that action at this time.
0 commit comments