mirror of https://github.com/pyodide/pyodide.git
Add cache for lint CI to reduce timeouts (#2240)
This commit is contained in:
parent
e0393b2c6b
commit
5b22f5ed50
|
@ -22,6 +22,9 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
|
||||
- restore_cache:
|
||||
key: pre-commit-{{ checksum ".pre-commit-config.yaml" }}
|
||||
|
||||
- run:
|
||||
name: Install lint requirements
|
||||
command: |
|
||||
|
@ -31,6 +34,11 @@ jobs:
|
|||
name: lint
|
||||
command: make lint
|
||||
|
||||
- save_cache:
|
||||
key: pre-commit-{{ checksum ".pre-commit-config.yaml" }}
|
||||
paths:
|
||||
- "/root/.cache"
|
||||
|
||||
test-docs:
|
||||
<<: *defaults
|
||||
resource_class: small
|
||||
|
|
Loading…
Reference in New Issue