Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c68037e

Browse files
committed
Agrega paso a CI para chequear orden en TRANSLATORS
Cuando nueva gente se agregue a sí misma a la lista de autores en TRANSLATORS, este nuevo paso en GitHub actions corroborará que el archivo TRANSLATORS sigue estando ordenado alfabéticamente, y generará un error de no ser éste el caso. Signed-off-by: Rodrigo Tobar <[email protected]>
1 parent cb48cb6 commit c68037e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ jobs:
2222
- name: Instalar dependencias
2323
run: |
2424
sudo apt-get update
25-
sudo apt-get install -y hunspell hunspell-es gettext
25+
sudo apt-get install -y hunspell hunspell-es gettext language-pack-es
2626
python -m pip install -r requirements.txt
2727
pip list
2828
pospell --version
2929
powrap --version
30+
- name: TRANSLATORS
31+
run: |
32+
diff -Naur TRANSLATORS <(LANG=es python scripts/sort.py < TRANSLATORS)
3033
- name: Powrap
3134
run: powrap --check --quiet **/*.po
3235
- name: Pospell

0 commit comments

Comments
 (0)