Grasscutter/.github/workflows/language_lint.yml

33 lines
792 B
YAML
Raw Normal View History

2022-07-11 14:21:05 +00:00
name: "Language Lint"
on:
workflow_dispatch: ~
push:
paths:
- ".github/workflows/**"
- "src/main/**.java"
2022-07-11 14:21:05 +00:00
- "**.json"
- "scripts/manage_languages.py"
2022-07-11 14:21:05 +00:00
branches:
- "stable"
- "development"
2023-06-01 03:22:54 +00:00
- "unstable"
2022-07-11 14:21:05 +00:00
pull_request:
paths:
- ".github/workflows/**"
- "src/main/**.java"
2022-07-11 14:21:05 +00:00
- "**.json"
- "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
- run: python3 scripts/manage_languages.py -l