File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check for linting issues
2
+ on :
3
+ push :
4
+ branches-ignore :
5
+ - django-2.2
6
+ pull_request :
7
+ branches-ignore :
8
+ - django-2.2
9
+
10
+ jobs :
11
+ build :
12
+ strategy :
13
+ matrix :
14
+ python-version : [3.8]
15
+ runs-on : ubuntu-16.04
16
+ steps :
17
+ - name : Checkout code
18
+ uses : actions/checkout@v2
19
+ - name : Setup Python ${{ matrix.python-version }}
20
+ uses : actions/setup-python@v1
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+ - name : Cache pip
24
+ uses : actions/cache@v2
25
+ with :
26
+ path : ~/.cache/pip
27
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
28
+ restore-keys : |
29
+ ${{ runner.os }}-pip-
30
+ ${{ runner.os }}-
31
+ - name : Install project dependencies
32
+ run : |
33
+ pip install --upgrade pip
34
+ pip install nox
35
+ pip install coveralls
36
+ - name : Check for linting issues
37
+ run : nox -s lint-3.8
You can’t perform that action at this time.
0 commit comments