Blog | Tobias McNulty |
---|---|
RSS 2.0 Feed | Tobias McNulty |
web | https://tobiasmcnulty.com/tags/python/ |
Last Update | 11.20.2024 |
Posts | 1 |
Recent content in Python on Tobias McNulty
Blog | Tobias McNulty |
---|---|
RSS 2.0 Feed | Tobias McNulty |
web | https://tobiasmcnulty.com/tags/python/ |
Last Update | 11.20.2024 |
Posts | 1 |
July 30, 2022 » Tobias McNulty » [Archived Version]
When setting up a GitHub Actions workflow for the repo that deploys this site, I noticed the pre-commit action for GitHub Actions is deprecated, and also doesn’t cache the installation of pre-commit itself. As a workaround, you can easily use the package dependency caching in actions/setup-python to cache the pre-commit installation and a custom actions/cache to cache the pre-commit cache itself (~/.cache/pre-commit/). First, update or create requirements.txt with the current version of p…
Read More