fix: Remove legacy Python lint job from CI workflow

- Remove ruff/flake8/pre-commit steps (legacy Python scaffold)
- Remove needs dependencies on non-existent lint job
- Backend and frontend tests now run independently
This commit is contained in:
Wikid82
2025-11-18 17:14:17 -05:00
parent 8e641b01bd
commit 6273aa32a1

View File

@@ -7,47 +7,15 @@ on:
branches: [ main, development ]
jobs:
lint:
name: Lint (ruff & flake8)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- name: Set up Python
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4
with:
python-version: '3.12'
- name: Cache pip
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.dev.txt
- name: Run pre-commit
run: |
pre-commit run --all-files
- name: Run ruff
run: |
ruff check .
- name: Run flake8
run: |
flake8 . || true
test-backend:
name: Backend Tests (Go)
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
cache-dependency-path: backend/go.sum
- name: Run Go tests
working-directory: backend
run: |
@@ -56,7 +24,6 @@ jobs:
test-frontend:
name: Frontend Tests (React)
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v4
- name: Set up Node.js