8000 feature #13250 cache doctor rst (smoench) · symfony/symfony-docs@0bad48d · GitHub
[go: up one dir, main page]

Skip to content

Commit 0bad48d

Browse files
committed
feature #13250 cache doctor rst (smoench)
This PR was merged into the 3.4 branch. Discussion ---------- cache doctor rst This PR adapts the latest contribution OskarStark/doctor-rst#626 Commits ------- 12f6ddc cache doctor rst
2 parents 33334b0 + 12f6ddc commit 0bad48d

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/ci.yaml

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

55+
- name: "Create cache dir"
56+
run: mkdir .cache
57+
58+
- name: "Extract base branch name"
59+
run: echo "##[set-output name=branch;]$(echo ${GITHUB_BASE_REF:=${GITHUB_REF##*/}})"
60+
id: extract_base_branch
61+
62+
- name: "Cache DOCtor-RST"
63+
uses: actions/cache@v1
64+
with:
65+
path: .cache
66+
key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}
67+
5568
- name: "Run DOCtor-RST"
5669
uses: docker://oskarstark/doctor-rst
5770
with:
58-
args: --short
71+
args: --short --cache-file=/github/workspace/.cache/doctor-rst.cache

0 commit comments

Comments
 (0)
0