Skip to content
This repository was archived by the owner on Jun 22, 2026. It is now read-only.

chore(deps-dev): Bump postcss from 8.5.6 to 8.5.10 in /apps/web (#91) #447

chore(deps-dev): Bump postcss from 8.5.6 to 8.5.10 in /apps/web (#91)

chore(deps-dev): Bump postcss from 8.5.6 to 8.5.10 in /apps/web (#91) #447

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: [main, develop]
paths-ignore:
- '*.md'
- 'docs/**'
- 'LICENSE'
- '.gitignore'
- '.github/dependabot.yml'
pull_request:
branches: [main, develop]
paths-ignore:
- '*.md'
- 'docs/**'
- 'LICENSE'
- '.gitignore'
- '.github/dependabot.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install ruff
run: pip install ruff
- name: Run ruff check
run: ruff check backend/
- name: Run ruff format check
run: ruff format --check backend/
typecheck:
name: Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install -r backend/requirements.txt
pip install mypy types-requests types-cachetools
- name: Run mypy
run: mypy backend/app --ignore-missing-imports
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run tests with coverage
run: |
PYTHONPATH=. pytest --cov=backend/app --cov-report=xml --cov-report=term-missing --cov-fail-under=80
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
if: matrix.python-version == '3.11'
with:
files: ./coverage.xml
fail_ci_if_error: false
verbose: true
security:
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install pip-audit
run: pip install pip-audit
- name: Run security audit
run: pip-audit -r backend/requirements.txt --desc
build:
name: Build Docker
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Build Docker image
uses: docker/build-push-action@v7
with:
context: .
push: false
tags: eve-gatekeeper:test
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Notify Discord
if: always()
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_CICD }}
run: |
[ -z "$DISCORD_WEBHOOK" ] && exit 0
STATUS="${{ job.status }}"
COLOR=$([ "$STATUS" = "success" ] && echo 3066993 || echo 15158332)
ICON=$([ "$STATUS" = "success" ] && echo "✅" || echo "❌")
curl -s -X POST "$DISCORD_WEBHOOK" \
-H "Content-Type: application/json" \
-d "{\"embeds\":[{\"title\":\"$ICON ${{ github.repository }}\",\"description\":\"Branch: ${{ github.ref_name }} | Status: $STATUS\",\"color\":$COLOR}]}"