InvokeAI/.github/workflows/style-checks.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
439 B
YAML
Raw Permalink Normal View History

name: style checks
2023-07-21 14:14:31 +00:00
on:
pull_request:
2023-07-21 14:14:31 +00:00
push:
branches: main
2023-07-21 14:14:31 +00:00
jobs:
ruff:
2023-07-21 14:14:31 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies with pip
run: |
pip install ruff
2023-07-21 14:14:31 +00:00
- run: ruff check --output-format=github .
- run: ruff format --check .