Fix pip install for YAML validation
Deploy / lint (push) Successful in 18s
Deploy / security (push) Successful in 14s
Deploy / deploy (push) Failing after 26s

This commit is contained in:
Gan, Jimmy
2026-02-14 10:00:24 +08:00
parent 29d8ab133d
commit 15f8b591e4
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
- name: Validate JSON - name: Validate JSON
run: python3 -c "import json; json.load(open('xray-config.json'))" run: python3 -c "import json; json.load(open('xray-config.json'))"
- name: Validate YAML - 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: security:
runs-on: ubuntu-latest runs-on: ubuntu-latest