0ad/.gitea
Dunedan 0feeb5884a
Cache Python dependencies in pre-commit workflow
This should speed up installation of pre-commit as part of the Gitea
Action a bit, as it caches the Python packages required for it.

The cache functionality of actions/setup-python is unsuitable for this
use case, as we don't have a file with requirements we want to use as
key. Instead, we just want to cache whatever is downloaded via pip from
PyPI and keep it for further invocations. This commit achieves that by
using the same cache key for every workflow run. The cache is being
updated even if pre-commit fails so we always keep the the Python
packages used for installing pre-commit cached.
2024-08-28 07:42:08 +02:00
..
ISSUE_TEMPLATE Add a markdownlint pre-commit hook 2024-08-27 10:06:31 +02:00
workflows Cache Python dependencies in pre-commit workflow 2024-08-28 07:42:08 +02:00
CODEOWNERS Update CODEOWNERS 2024-08-24 13:48:43 +02:00