From b9e4919c789a9c8adc7d733a0d8cc95cbb5f19fe Mon Sep 17 00:00:00 2001 From: John Date: Sun, 14 Jan 2024 18:01:38 +0100 Subject: [PATCH] check templates --- .github/workflows/check.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 9e5e7d4cd..fa4d13c9c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -31,6 +31,11 @@ jobs: run: | docker run -v $PWD:/cfg $image --checkconfig -c /cfg/$folder/de \ && docker run -v $PWD:/cfg $image --checkconfig -c /cfg/$folder/en + - name: check templates + run: | + (cd $folder/de && find . -name "_templates.csv" -exec cut -d ',' -f 1-3 \{\} \;) | sed -e 's#-So#-Su#g' > templ.de \ + && (cd $folder/en && find . -name "_templates.csv" -exec cut -d ',' -f 1-3 \{\} \;) > templ.en \ + && diff templ.de templ.en - name: dump json run: |