Skip to content

Commit e9afc52

Browse files
Add Lean cache to CI to stabilize lake availability and speed builds
1 parent 4eb7c68 commit e9afc52

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/no-duplicate-namespaces.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ jobs:
1515
lean --version
1616
lake --version
1717
18+
- name: Cache elan + lake
19+
uses: actions/cache@v4
20+
with:
21+
path: |
22+
~/.elan
23+
~/.cache/lean
24+
key: ${{ runner.os }}-lean-${{ hashFiles('lean-toolchain') }}
25+
1826
- name: Detect duplicate namespaces (same file only)
1927
run: |
2028
dup=$(grep -R '^[[:space:]]*namespace[[:space:]]\+' -n lean 2>/dev/null \

0 commit comments

Comments
 (0)