2022-10-20 13:30:44 +00:00
|
|
|
name: "Lint: Python Coordinator"
|
2022-10-20 09:55:24 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2022-10-20 13:19:20 +00:00
|
|
|
paths:
|
|
|
|
- '**.py'
|
|
|
|
pull_request_target:
|
2022-10-20 09:55:24 +00:00
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- '**.py'
|
|
|
|
|
2022-10-20 13:19:20 +00:00
|
|
|
permissions:
|
|
|
|
checks: write
|
|
|
|
|
2022-10-20 09:55:24 +00:00
|
|
|
jobs:
|
|
|
|
run-linters:
|
|
|
|
name: Run linters
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-09-11 16:00:32 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-12-15 15:16:13 +00:00
|
|
|
- uses: actions/setup-python@v5
|
2022-10-20 09:55:24 +00:00
|
|
|
with:
|
2023-11-14 13:58:46 +00:00
|
|
|
python-version: '3.12'
|
2022-10-20 09:55:24 +00:00
|
|
|
cache: pip
|
2024-01-16 17:20:37 +00:00
|
|
|
- name: Ruff
|
|
|
|
uses: chartboost/ruff-action@v1
|