In .gitea/workflows/build-and-publish.yaml the "Cache pip dependencies" step runs AFTER "Install test dependencies", so the cache never accelerates the install it is meant to serve. Additionally the cache key is written as a YAML string "$RUNNER_OS-pip-..." where $RUNNER_OS is a shell variable that is never expanded in this context.
Fix:
Move the actions/cache step before the install step.
Use ${{ runner.os }} in the key instead of $RUNNER_OS.
Acceptance:
The cache is restored before dependencies are installed.
The cache key is OS-specific via the Actions expression.
In .gitea/workflows/build-and-publish.yaml the "Cache pip dependencies" step runs AFTER "Install test dependencies", so the cache never accelerates the install it is meant to serve. Additionally the cache key is written as a YAML string "$RUNNER_OS-pip-..." where $RUNNER_OS is a shell variable that is never expanded in this context.
Fix:
- Move the actions/cache step before the install step.
- Use ${{ runner.os }} in the key instead of $RUNNER_OS.
Acceptance:
- The cache is restored before dependencies are installed.
- The cache key is OS-specific via the Actions expression.
lyrathorpe
added the ci label 2026-06-17 17:12:37 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
In .gitea/workflows/build-and-publish.yaml the "Cache pip dependencies" step runs AFTER "Install test dependencies", so the cache never accelerates the install it is meant to serve. Additionally the cache key is written as a YAML string "$RUNNER_OS-pip-..." where $RUNNER_OS is a shell variable that is never expanded in this context.
Fix:
Acceptance: