ci: run the Lint and Build fast path without network

When the pins match the ci image every tool is baked in, so a runtime
download is a bake-in defect; failing the job makes it visible.

Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-11-26 22:17:42 +00:00
1 parent 1afce962a0
commit f7fde63f7d
5 files changed
+27 -13

No files matched your search

+2 -1
View File
@@ -66,7 +66,8 @@ Read `.gitea/workflows/molecule.yml` for the full command.
`/opt/ci-pins.sha256` lists the five pin files by their checkout-relative path, so `sha256sum -c` runs in the checkout root. When
the checkout's `requirements-dev.txt`, `requirements-dev.lock`, `requirements.yml`, `extensions/molecule/requirements.yml` and `.pre-commit-config.yaml` match, the baked tools and
collections are used as they are. When a pull request changes a pin the check fails and the job installs the pinned
collections are used as they are, and Lint and Build run their tools without network, so a tool that
downloads at run time fails the job. When a pull request changes a pin the check fails and the job installs the pinned
tools and collections itself for that run
(slower, same result), until the image is rebuilt from `main`. `lint.yml`, `build.yml`, `molecule.yml` and `gitea-release-key.yml`
are the real consumers.