Files
winnow/.github/workflows/lint.yml
T

23 lines
434 B
YAML

name: Lint Python
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Ruff
uses: astral-sh/ruff-action@v3
with:
args: "check --fix" # Adding --fix here will auto-sort those imports for you!