fix: resolve CI build failures
- Fix ruff configuration in pyproject.toml (moved settings to correct sections) - Use python -m ruff for lint check to resolve PATH issues - Added proper pip upgrade before installing dependencies
This commit is contained in:
@@ -37,11 +37,13 @@ jobs:
|
||||
python-version: '3.11'
|
||||
cache: 'pip'
|
||||
|
||||
- name: Install ruff
|
||||
run: pip install ruff
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install ruff
|
||||
|
||||
- name: Run ruff check
|
||||
run: ruff check git_commit_ai/ || true
|
||||
run: python -m ruff check git_commit_ai/ || true
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user