fix: correct model settings for openai endpoint #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruff | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "backend/**" | |
- ".github/**" | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "backend/**" | |
- ".github/**" | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./backend | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Git Debug | |
run: | | |
git status | |
git diff | |
git rev-parse HEAD | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install "ruff==0.1.15" | |
- name: Debug Info | |
run: | | |
which ruff | |
ruff --version | |
pwd | |
- name: Show Exact Differences | |
run: | | |
ruff format . --check --diff |