mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
28 lines
593 B
Plaintext
28 lines
593 B
Plaintext
name: Python CI
|
|
on:
|
|
push:
|
|
branches: ['main']
|
|
pull_request:
|
|
jobs:
|
|
build:
|
|
name: 'Lint Backend'
|
|
env:
|
|
PUBLIC_API_BASE_URL: ''
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version:
|
|
- latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Python
|
|
uses: actions/setup-python@v5
|
|
- name: Use Bun
|
|
uses: oven-sh/setup-bun@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install pylint
|
|
- name: Lint backend
|
|
run: bun run lint:backend
|