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 9c76c3c commit 65f40f6Copy full SHA for 65f40f6
.github/workflows/lint.yaml
@@ -0,0 +1,34 @@
1
+name: Lint
2
+on:
3
+ push:
4
+ branches-ignore:
5
+ - django-2.2
6
+ pull_request:
7
8
9
+
10
+jobs:
11
+ lint:
12
+ runs-on: ubuntu-16.04
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v2
16
+ - name: Setup Python 3.8
17
+ uses: actions/setup-python@v1
18
+ with:
19
+ python-version: 3.8
20
+ - name: Cache pip
21
+ uses: actions/cache@v2
22
23
+ path: ~/.cache/pip
24
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
25
+ restore-keys: |
26
+ ${{ runner.os }}-pip-
27
+ ${{ runner.os }}-
28
+ - name: Install project dependencies
29
+ run: |
30
+ pip install --upgrade pip
31
+ pip install nox
32
+ pip install coveralls
33
+ - name: Check for linting issues
34
+ run: nox -s lint-3.8
0 commit comments