Move around Liniting in CI
This commit is contained in:
parent
74ebf0521b
commit
06b9e08af9
2 changed files with 17 additions and 10 deletions
|
@ -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: |
|
||||
|
|
17
.forgejo/workflows/lint.yml
Normal file
17
.forgejo/workflows/lint.yml
Normal 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
|
||||
|
Loading…
Add table
Reference in a new issue