mirror of
https://github.com/NatsumeLS/Gakumas-Translation-Data-EN.git
synced 2026-02-04 09:04:54 +00:00
chore: Add resource validation workflow and script
This commit is contained in:
11
.github/workflows/dispatch.yml
vendored
11
.github/workflows/dispatch.yml
vendored
@@ -11,12 +11,21 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Validate
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
|
||||
- name: Validate JSON and YAML
|
||||
id: json-yaml-validate
|
||||
uses: GrantBirki/json-yaml-validate@v3
|
||||
with:
|
||||
use_gitignore: false
|
||||
|
||||
- name: Validate Resource
|
||||
id: resource-validate
|
||||
run: python ./scripts/resource_validator.py ./local-files/resource
|
||||
|
||||
dispatch:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user