mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 18:56:15 +00:00
6e35625f1a
But run them on linter and workflow changes
32 lines
749 B
YAML
32 lines
749 B
YAML
name: "Language Lint"
|
|
on:
|
|
workflow_dispatch: ~
|
|
push:
|
|
paths:
|
|
- ".github/workflows/**"
|
|
- "src/main/**.java"
|
|
- "**.json"
|
|
- "manage_languages.py"
|
|
branches:
|
|
- "stable"
|
|
- "development"
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/**"
|
|
- "src/main/**.java"
|
|
- "**.json"
|
|
- "manage_languages.py"
|
|
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 manage_languages.py -l
|