forked from massive-com/client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 711 Bytes
/
lint.yml
File metadata and controls
33 lines (33 loc) · 711 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
name: lint
on:
push:
tags:
- v*
branches:
- v1
pull_request:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
name: Lint ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
uses: abatilo/actions-poetry@v2
- name: Install pypi deps
run: poetry install
- name: Style lint
run: make style
- name: Static lint
run: make static
if: always()