when: - event: pull_request - event: push 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 .