8000 cache doctor rst · symfony/symfony-docs@16df0d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 16df0d2

Browse files
author
smoench
committed
cache doctor rst
1 parent 853d05f commit 16df0d2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,18 @@ jobs:
5252
- name: "Checkout"
5353
uses: actions/checkout@v2
5454

55+
- name: "Create cache dir"
56+
run: mkdir .cache
57+
58+
- name: "Cache DOCtor-RST ${BASE_BRANCH}"
59+
uses: actions/cache@v1
60+
with:
61+
path: .cache
62+
key: ${{ runner.os }}-doctor-rst-34
63+
env:
64+
BASE_BRANCH: ${{ github.base_ref }} || ${{ github.ref }}
65+
5566
- name: "Run DOCtor-RST"
5667
uses: docker://oskarstark/doctor-rst
5768
with:
58-
args: --short
69+
args: --short --cache-file=/github/workspace/.cache/doctor-rst.cache

0 commit comments

Comments
 (0)
0