Skip to content

ci: rename workflow from "Code Review" to "代码格式验证" #7

ci: rename workflow from "Code Review" to "代码格式验证"

ci: rename workflow from "Code Review" to "代码格式验证" #7

Workflow file for this run

name: 代码格式验证
on:
push:
branches: [ main, v0.0.5 ]
pull_request:
branches: [ main, v0.0.5 ]
jobs:
code-review:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install PyYAML
- name: Validate JSON and YAML files
run: |
python .github/scripts/validate_files.py --directory . --check-json --check-yaml