Skip to content

Commit 1668133

Browse files
yuan-cloudclaude
andcommitted
fix(ci): replace rg with grep in fastlane.sh for CI runner compatibility
ripgrep is not available on GitHub Actions runners by default. The assert_contains helper now uses grep -qE which is always present. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 14e79c0 commit 1668133

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/e2e/fastlane.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ assert_contains() {
9797
local stage="$1"
9898
local path="$2"
9999
local pattern="$3"
100-
if rg -q "$pattern" "$path"; then
100+
if grep -qE "$pattern" "$path"; then
101101
log_json "info" "$stage" "ok" 0 "pattern '$pattern' found in $path" "$path"
102102
echo "[$stage] pattern ok: $pattern" >> "$SUMMARY_TXT"
103103
else

0 commit comments

Comments
 (0)