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 357490c commit 9fa8df6Copy full SHA for 9fa8df6
.github/workflows/tests.yml
@@ -1,7 +1,7 @@
1
---
2
name: Tests
3
4
-on:
+on: # yamllint disable-line rule:truthy
5
push:
6
pull_request:
7
@@ -21,11 +21,18 @@ jobs:
21
uses: actions/cache@v2
22
with:
23
path: ~/.cache/pip
24
- key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }}
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
25
restore-keys: |
26
${{ runner.os }}-pip-
27
- name: Install dependencies
28
run: make install
29
+ - name: Cache pre-commit
30
+ uses: actions/cache@v2
31
+ with:
32
+ path: ~/.cache/pre-commit
33
+ key: pre-commit-2--${hashFile('.pre-commit-config.yaml')}
34
+ restore-keys: |
35
+ pre-commit-2-
36
- name: Lint
37
run: SKIP=no-commit-to-branch make lint
38
- name: Test
0 commit comments