JdrCydsek/open-webui
0
1name: Python CI2 3on:4 push:5 branches:6 - main7 - dev8 pull_request:9 branches:10 - main11 - dev12 13jobs:14 build:15 name: 'Format Backend'16 runs-on: ubuntu-latest17 18 strategy:19 matrix:20 python-version: [3.11]21 22 steps:23 - uses: actions/checkout@v424 25 - name: Set up Python26 uses: actions/setup-python@v427 with:28 python-version: ${{ matrix.python-version }}29 30 - name: Install dependencies31 run: |32 python -m pip install --upgrade pip33 pip install black34 35 - name: Format backend36 run: npm run format:backend37 38 - name: Check for changes after format39 run: git diff --exit-code40 