Skip to content

Bump ruff from 0.6.7 to 0.7.1 #142

Bump ruff from 0.6.7 to 0.7.1

Bump ruff from 0.6.7 to 0.7.1 #142

Workflow file for this run

name: Code Analysis
on:
push:
branches:
- '**'
jobs:
CodeAnalysis:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.x
- name: Display Python version
run: |
python --version
- name: Install dependencies
run: |
pip install poetry
poetry install --with dev
- name: Check for outdated dependencies
if: env.skip-job != 'true'
run: |
poetry show --outdated --only main
- name: Run tests with coverage in latest stable 3.x
run: |
poetry run pytest --cov=app --cov-report=term-missing
continue-on-error: false
- name: Run Bandit for security analysis
run: |
poetry run bandit -r app
continue-on-error: false
- name: Run Ruff for linting
run: |
poetry run ruff check .
continue-on-error: false
- name: Run Vulture for dead code analysis
run: |
poetry run vulture . --min-confidence 70
continue-on-error: false