-
Notifications
You must be signed in to change notification settings - Fork 189
34 lines (33 loc) · 831 Bytes
/
lint.yaml
File metadata and controls
34 lines (33 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Lint
on:
push:
branches-ignore:
- django-2.2
pull_request:
branches-ignore:
- django-2.2
jobs:
lint:
runs-on: ubuntu-16.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install project dependencies
run: |
pip install --upgrade pip
pip install nox
pip install coveralls
- name: Check for linting issues
run: nox -s lint-3.8