steps: - name: lint when: - event: pull_request - event: push branch: main 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 .