10 lines
234 B
YAML
10 lines
234 B
YAML
when:
|
|
branch: main
|
|
steps:
|
|
- name: lint
|
|
image: python:3-alpine
|
|
commands:
|
|
- python -m pip install --upgrade pip
|
|
- python -m pip install -r requirements.txt
|
|
- python -m pip install ruff
|
|
- ruff check .
|