5
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-11-12 13:03:49 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Tom Whitwell
9a134f4f53
add cache restore key and run gc in post step
This will allow us to restore all available cached hooks to reduce the
time spent "Initializing environment" on each run.

If any of the hooks are updated, the `pre-commit gc` command will remove
the now-unused hooks from ~/.cache/pre-commit, ensuring that we don't
store them in the cache indefinitely.
2025-02-14 12:47:00 +00:00
Jakub Boukal
0dbc303468 Upgrade action/cache to v4. Fixes: #189 2024-02-06 22:46:44 +00:00
Anthony Sottile
f5c2d257b4 remove pushing behaviour 2022-06-05 15:17:59 -04:00
Deepyaman Datta
30b00a6cd9 Support extra_args keyword in pre-commit GitHub action 2020-05-15 08:14:38 -07:00
Anthony Sottile
614487b962 Initial commit 2019-11-24 19:27:32 -08:00