fix: use --break-system-packages for pip install yamllint
PEP 668 blocks pip install in externally-managed Python environments (Debian/Ubuntu). Adding --break-system-packages flag to fix CI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7d21c942a2
commit
893b58afdc
@ -18,9 +18,9 @@ jobs:
|
||||
- name: YAML Lint
|
||||
run: |
|
||||
echo "=== YAML Lint ==="
|
||||
pip install -q yamllint 2>/dev/null
|
||||
pip install -q --break-system-packages yamllint
|
||||
yamllint -d "{extends: relaxed, rules: {line-length: {max: 200}}}" \
|
||||
environments/ argocd-apps/ apps/ 2>&1
|
||||
environments/ argocd-apps/ apps/
|
||||
echo "YAML lint passed"
|
||||
|
||||
- name: Validate ArgoCD Manifests
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user