Skip to content

[ci] Clean up workflows #1

[ci] Clean up workflows

[ci] Clean up workflows #1

name: 11 - check python styling
permissions:
contents: read
on:
pull_request:
paths:
- 'api/**'
- 'sdk/**'
workflow_dispatch:
jobs:
ruff-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Ruff
run: pip install ruff==0.14.0
- name: Run Ruff formatting check
run: ruff format --check
ruff-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Ruff
run: pip install ruff==0.14.0
- name: Run Ruff linting check
run: ruff check