[ci] strings.txt format check

Signed-off-by: Viacheslav Greshilov <slovaricheg@gmail.com>
This commit is contained in:
Viacheslav Greshilov 2021-07-17 19:31:35 +03:00 committed by Alexander Borsuk
parent 1263dc01e7
commit 81097c2888

22
.github/workflows/strings-check.yaml vendored Normal file
View file

@ -0,0 +1,22 @@
name: strings.txt check
on:
pull_request:
paths:
- 'data/strings/strings.txt'
jobs:
check-strings-txt:
name: Check strings.txt format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3'
- name: Check strings.txt
shell: bash
run: |
./tools/python/clean_strings_txt.py -s
git diff --quiet HEAD