File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,11 @@ jobs:
101
101
python-version : ${{ env.LINTING_PYTHON_VERSION }}
102
102
cache : ' pip'
103
103
cache-dependency-path : ' pyproject.toml'
104
- - name : Install with linting tools
105
- run : pip install .[linting]
106
- - name : Check spelling
107
- run : ./tools/run-spellcheck
104
+ - name : Lint
105
+ run : |
106
+ make
107
+ . zt_venv/bin/activate
108
+ ./tools/run-spellcheck
108
109
109
110
hotkeys :
110
111
runs-on : ubuntu-latest
@@ -118,10 +119,11 @@ jobs:
118
119
python-version : ${{ env.LINTING_PYTHON_VERSION }}
119
120
cache : ' pip'
120
121
cache-dependency-path : ' pyproject.toml'
121
- - name : Minimal install
122
- run : pip install .
123
- - name : Run lint-hotkeys
124
- run : ./tools/lint-hotkeys
122
+ - name : Lint
123
+ run : |
124
+ make
125
+ . zt_venv/bin/activate
126
+ ./tools/lint-hotkeys
125
127
126
128
docstrings :
127
129
runs-on : ubuntu-latest
@@ -135,10 +137,11 @@ jobs:
135
137
python-version : ${{ env.LINTING_PYTHON_VERSION }}
136
138
cache : ' pip'
137
139
cache-dependency-path : ' pyproject.toml'
138
- - name : Minimal install
139
- run : pip install .
140
- - name : Run lint-docstring
141
- run : ./tools/lint-docstring
140
+ - name : Lint
141
+ run : |
142
+ make
143
+ . zt_venv/bin/activate
144
+ ./tools/lint-docstring
142
145
143
146
gitlint :
144
147
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments