File tree Expand file tree Collapse file tree 1 file changed +3
-43
lines changed Expand file tree Collapse file tree 1 file changed +3
-43
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
lint :
10
10
runs-on : ubuntu-latest
11
- strategy :
12
- matrix :
13
- python-version : [3.8]
14
-
15
11
steps :
16
12
- uses : actions/checkout@v2
17
-
18
- - name : Set up Python ${{ matrix.python-version }}
19
- uses : actions/setup-python@v1
20
- with :
21
- python-version : ${{ matrix.python-version }}
22
-
23
- - name : Set up Node/yarn
24
- uses : actions/setup-node@v1
25
- with :
26
- node-version : " 16.x"
27
-
28
- - name : Cache python wheels
29
- uses : actions/cache@v2
30
- with :
31
- path : ~/.cache/pip
32
- key : |
33
- ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py', 'docs/requirements.txt') }}
34
- restore-keys : |
35
- ${{ runner.os }}-pip-${{ matrix.python-version }}-
36
- ${{ runner.os }}-pip-
37
-
38
- - name : Cache node_modules
39
- uses : actions/cache@v2
40
- with :
41
- path : " node_modules"
42
- key : |
43
- ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
44
-
45
- - name : Install dependencies
46
- run : |
47
- python -m pip install --upgrade pip setuptools wheel
48
- python -m pip install --upgrade pre-commit
49
- python -m pip install -e .
50
- yarn --frozen-lockfile
51
-
52
- - name : Lint
53
- run : |
54
- pre-commit run --all-files
13
+ - uses : actions/setup-python@v2
14
+ -
uses :
pre-commit/[email protected]
55
15
56
16
# Build docs on a number of Python versions. In the future this can be
57
17
# where tests go.
@@ -211,7 +171,7 @@ jobs:
211
171
if : always()
212
172
213
173
publish :
214
- name : Publish to PyPi
174
+ name : Publish to PyPI
215
175
needs : [lint, tests]
216
176
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
217
177
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments