From b66222fe47eccc3117b198cf7418d38633f2f416 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 23 Jul 2025 14:45:40 +0200 Subject: [PATCH] GHA: use locale instead of grepping env output --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index f073019749..973516abde 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -686,7 +686,7 @@ jobs: fi [ -x ~/venv/bin/activate ] && source ~/venv/bin/activate if [[ "${MATRIX_INSTALL_STEPS}" = *'codeset-test'* ]]; then - env | grep -E '(LC_|LANG)' | sort || true + locale || true export LC_ALL=C export LC_CTYPE=C export LC_NUMERIC=fr_FR.UTF-8 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 0f0bd94b1d..b35c9a08c4 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -481,7 +481,7 @@ jobs: TFLAGS="-j20 ${TFLAGS}" source ~/venv/bin/activate if [[ "${MATRIX_INSTALL_STEPS}" = *'codeset-test'* ]]; then - env | grep -E '(LC_|LANG)' | sort || true + locale || true export LC_ALL=C export LC_CTYPE=C export LC_NUMERIC=fr_FR.UTF-8