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'
|
python-version: '3.11'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
|
|
||||||
- name: Install ruff
|
- name: Install dependencies
|
||||||
run: pip install ruff
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
python -m pip install ruff
|
||||||
|
|
||||||
- name: Run ruff check
|
- name: Run ruff check
|
||||||
run: ruff check git_commit_ai/ || true
|
run: python -m ruff check git_commit_ai/ || true
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user