Skip to content

build(deps): bump certifi from 2026.2.25 to 2026.4.22 #55

build(deps): bump certifi from 2026.2.25 to 2026.4.22

build(deps): bump certifi from 2026.2.25 to 2026.4.22 #55

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: "3.11"
- name: Cache pip packages
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-lint-${{ hashFiles('requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-lint-
- name: Install dependencies
run: pip install --require-hashes -r requirements-dev.txt && pip install --no-deps -e .
- name: Ruff lint check
run: ruff check .
- name: Ruff format check
run: ruff format --check .
- name: Type check with mypy
run: mypy app/ --ignore-missing-imports
test:
runs-on: ubuntu-latest
needs: lint
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip packages
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
- name: Install dependencies
run: pip install --require-hashes -r requirements-dev.txt && pip install --no-deps -e .
- name: Run tests
run: pytest --tb=short
env:
TOPIC_WATCH_LLM__MODEL: "openai/gpt-4o-mini"
TOPIC_WATCH_LLM__API_KEY: "test-key-not-real"
docker:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Build Docker image
run: docker build -t topic-watch:ci .