language_lint.yml 792 B

123456789101112131415161718192021222324252627282930313233
  1. name: "Language Lint"
  2. on:
  3. workflow_dispatch: ~
  4. push:
  5. paths:
  6. - ".github/workflows/**"
  7. - "src/main/**.java"
  8. - "**.json"
  9. - "scripts/manage_languages.py"
  10. branches:
  11. - "stable"
  12. - "development"
  13. - "unstable"
  14. pull_request:
  15. paths:
  16. - ".github/workflows/**"
  17. - "src/main/**.java"
  18. - "**.json"
  19. - "scripts/manage_languages.py"
  20. types:
  21. - opened
  22. - synchronize
  23. - reopened
  24. jobs:
  25. Lint-Language-Keys:
  26. runs-on: ubuntu-latest
  27. steps:
  28. - uses: actions/checkout@v3
  29. - uses: actions/setup-python@v4
  30. with:
  31. python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax
  32. - run: python3 scripts/manage_languages.py -l