We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df52e62 + 0bad48d commit ce07ec0Copy full SHA for ce07ec0
.github/workflows/ci.yaml
@@ -52,7 +52,20 @@ jobs:
52
- name: "Checkout"
53
uses: actions/checkout@v2
54
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
68
- name: "Run DOCtor-RST"
69
uses: docker://oskarstark/doctor-rst
70
with:
- args: --short
71
+ args: --short --cache-file=/github/workspace/.cache/doctor-rst.cache
0 commit comments