Fix pip install for YAML validation
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
||||
- name: Validate JSON
|
||||
run: python3 -c "import json; json.load(open('xray-config.json'))"
|
||||
- name: Validate YAML
|
||||
run: pip install pyyaml -q && python3 -c "import yaml; yaml.safe_load(open('clash-meta.yaml'))"
|
||||
run: pip install pyyaml -q --break-system-packages && python3 -c "import yaml; yaml.safe_load(open('clash-meta.yaml'))"
|
||||
|
||||
security:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user