2022-07-11 14:21:05 +00:00
|
|
|
name: "Language Lint"
|
|
|
|
on:
|
|
|
|
workflow_dispatch: ~
|
|
|
|
push:
|
|
|
|
paths:
|
2022-08-23 01:03:32 +00:00
|
|
|
- ".github/workflows/**"
|
|
|
|
- "src/main/**.java"
|
2022-07-11 14:21:05 +00:00
|
|
|
- "**.json"
|
2023-03-31 21:05:12 +00:00
|
|
|
- "scripts/manage_languages.py"
|
2022-07-11 14:21:05 +00:00
|
|
|
branches:
|
|
|
|
- "stable"
|
|
|
|
- "development"
|
|
|
|
pull_request:
|
|
|
|
paths:
|
2022-08-23 01:03:32 +00:00
|
|
|
- ".github/workflows/**"
|
|
|
|
- "src/main/**.java"
|
2022-07-11 14:21:05 +00:00
|
|
|
- "**.json"
|
2023-03-31 21:05:12 +00:00
|
|
|
- "scripts/manage_languages.py"
|
2022-07-11 14:21:05 +00:00
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
|
|
|
- reopened
|
|
|
|
jobs:
|
|
|
|
Lint-Language-Keys:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
2023-03-31 21:05:12 +00:00
|
|
|
- run: python3 scripts/manage_languages.py -l
|