💚 Run backend linters on commits only
Try to force the linters to run even if the previous one fails.
This commit is contained in:
@@ -1,15 +1,19 @@
|
|||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
- branch:
|
||||||
|
exclude: [master, release/*]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: ruff
|
- name: ruff
|
||||||
image: python:3.12-alpine
|
image: python:3.12-alpine
|
||||||
commands:
|
commands:
|
||||||
- pip install ruff
|
- pip install ruff
|
||||||
- ruff --output-format github .
|
- ruff --output-format github .
|
||||||
when:
|
|
||||||
- branch:
|
|
||||||
exclude: [master, develop, release/*]
|
|
||||||
|
|
||||||
- name: mypy
|
- name: mypy
|
||||||
image: python:3.12-alpine
|
image: python:3.12-alpine
|
||||||
commands: |
|
commands: |
|
||||||
pip install mypy
|
pip install mypy
|
||||||
mypy .
|
mypy .
|
||||||
|
|
||||||
|
runs_on: [ success, failure ]
|
||||||
|
Reference in New Issue
Block a user