8000 Merge branch '3.4' into 4.4 · symfony/symfony-docs@ce07ec0 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce07ec0

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: cache doctor rst
2 parents df52e62 + 0bad48d commit ce07ec0

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