Move around Liniting in CI

This commit is contained in:
Chris Cowley 2024-09-30 17:39:58 +02:00
parent 74ebf0521b
commit 06b9e08af9
2 changed files with 17 additions and 10 deletions

View file

@ -4,18 +4,8 @@ on:
- 'main'
jobs:
lint:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: |
pip install flake8 api.py
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Test
run: |

View file

@ -0,0 +1,17 @@
on:
push:
branches:
- 'main'
jobs:
lint:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Lint
- run: |
pip install flake8 api.py