Skip to content

Commit 8aa9814

Browse files
committed
Cache the output of HTMLProofer to avoid hitting rate limits
1 parent a0d4083 commit 8aa9814

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,11 @@ jobs:
3535
--allow-hash-href=true\
3636
--enforce-https=false\
3737
--ignore-missing-alt=true\
38-
--swap-urls "https\:\/\/scala\.epfl\.ch:"
38+
--swap-urls "https\:\/\/scala\.epfl\.ch:"\
39+
--cache '{ "timeframe": { "external": "30d" } }'
40+
- name: Cache HTMLProofer
41+
id: cache-htmlproofer
42+
uses: actions/cache@v2
43+
with:
44+
path: tmp/.htmlproofer
45+
key: ${{ runner.os }}-htmlproofer

0 commit comments

Comments
 (0)