Fix pip install for YAML validation
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user