diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f023d655b..c8a01e3e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,9 +25,17 @@ jobs: - 3306:3306 steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 1 + - uses: actions/checkout@v4 + + - name: Make sure configuration was exported in correct language + run: | + OUTPUT=$(grep -oP '^langcode: \b(?!(?:en|und)\b)\w+' conf -R || true) + + if [ ! -z "$OUTPUT" ]; then + echo "Found configuration exported in wrong language:" >> $GITHUB_STEP_SUMMARY + echo "$OUTPUT" >> $GITHUB_STEP_SUMMARY + exit 1 + fi - name: Build project run: composer install --no-interaction diff --git a/conf/cmi/search_api.index.street_data.yml b/conf/cmi/search_api.index.street_data.yml index 75e60193e..e6d9d7832 100644 --- a/conf/cmi/search_api.index.street_data.yml +++ b/conf/cmi/search_api.index.street_data.yml @@ -1,5 +1,5 @@ uuid: 0f434f1f-19a0-45a2-84bc-9f81e52ade45 -langcode: fi +langcode: en status: true dependencies: config: