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.
1 parent 853d05f commit 956b0d3Copy full SHA for 956b0d3
.github/workflows/ci.yaml
@@ -8,6 +8,9 @@ on:
8
9
name: CI
10
11
+env:
12
+ BASE_BRANCH: ${{ github.base_ref || github.ref }}
13
+
14
jobs:
15
build:
16
name: Build
@@ -52,7 +55,18 @@ jobs:
52
55
- name: "Checkout"
53
56
uses: actions/checkout@v2
54
57
58
+ - name: "Create cache dir"
59
+ run: mkdir .cache
60
61
+ - name: "Cache DOCtor-RST"
62
+ uses: actions/cache@v1
63
+ with:
64
+ path: .cache
65
+ key: ${{ runner.os }}-doctor-rst-34
66
67
+ - run: echo ${BASE_BRANCH}
68
69
- name: "Run DOCtor-RST"
70
uses: docker://oskarstark/doctor-rst
71
with:
- args: --short
72
+ args: --short --cache-file=/github/workspace/.cache/doctor-rst.cache
0 commit comments