fix(ci): make workflow lint runner-managed
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 21s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m46s

This commit is contained in:
2026-07-12 22:52:52 +09:00
parent 0f4e589cf1
commit 3c42eb402b
+6 -1
View File
@@ -27,7 +27,12 @@ jobs:
run: |
/usr/bin/python3 --version
/usr/bin/python3 -m pip --version
/usr/bin/python3 -m pip install --disable-pip-version-check --quiet pyyaml
PYTHON_DEPS="$HOME/python_deps/$(md5sum tools/validate_gitea_ci_workflow_lint_v1.py | cut -d' ' -f1)"
mkdir -p "$PYTHON_DEPS"
/usr/bin/python3 -m pip install --disable-pip-version-check --quiet \
--target "$PYTHON_DEPS" pyyaml
export PYTHONPATH="$PYTHON_DEPS:${PYTHONPATH:-}"
echo "PYTHONPATH=$PYTHON_DEPS:${PYTHONPATH:-}" >> "$GITHUB_ENV"
- name: Lint CI Workflow Contract
run: python3 tools/validate_gitea_ci_workflow_lint_v1.py --workflow .gitea/workflows/ci.yml