From 9aa9003e1b6bd1cd026ac09c88028f93cb25e6b3 Mon Sep 17 00:00:00 2001 From: haelyra <49814733+haelyra@users.noreply.github.com> Date: Sat, 10 Oct 2026 19:04:00 -0400 Subject: [PATCH] ci: account for PowerShell CRLF in strict PCRE2 probe --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15a6b50da..575981b06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,8 @@ jobs: } rg --version if ($LASTEXITCODE -ne 0) { throw 'ripgrep executable is unavailable' } - 'ecc-pcre2-probe' | rg --pcre2 -- '^ecc-pcre2-probe$' + # PowerShell writes CRLF to native stdin; retain anchored matching. + 'ecc-pcre2-probe' | rg --pcre2 --crlf -- '^ecc-pcre2-probe$' if ($LASTEXITCODE -ne 0) { throw 'ripgrep PCRE2 support is required' } # Package manager setup