Skip to content

Commit c348b1d

Browse files
authored
add action to check locale keys presence
1 parent 34034b8 commit c348b1d

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/check_locales.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: check_locales
2+
3+
on:
4+
push:
5+
branches: [ main , locale]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
env:
11+
CI: false
12+
13+
jobs:
14+
build:
15+
16+
runs-on: ubuntu-latest
17+
18+
strategy:
19+
matrix:
20+
node-version: [20.12.2]
21+
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@main
25+
26+
- name: setup python
27+
uses: actions/setup-python@v4
28+
with:
29+
python-version: '3.10' # install the python version needed
30+
31+
- name: execute py script # run main.py
32+
run: python ./pytest/checklocale.py ./src/locales

0 commit comments

Comments
 (0)