mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-23 17:37:58 -05:00
27 lines
511 B
YAML
27 lines
511 B
YAML
name: 'Check: python'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
check-backend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install python dependencies
|
|
uses: ./.github/actions/install-python-deps
|
|
|
|
- name: Install ruff
|
|
run: pip install ruff
|
|
shell: bash
|
|
|
|
- name: Ruff check
|
|
run: ruff check --output-format=github .
|
|
shell: bash
|
|
|
|
- name: Ruff format
|
|
run: ruff format --check .
|
|
shell: bash
|