Skip to content

build(deps): bump brotli from 1.1.0 to 1.2.0 #260

build(deps): bump brotli from 1.1.0 to 1.2.0

build(deps): bump brotli from 1.1.0 to 1.2.0 #260

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
pull_request:
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.12
allow-prereleases: true
cache: pip
cache-dependency-path: uv.lock
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Sync dependencies
run: uv sync --group dev --group tests
- name: Run pre-commit
run: uv run pre-commit run --all-files
- name: Check formatting
run: uv run ruff format --check .
- name: Run Ruff checks
run: uv run ruff check --output-format=github .
- name: Run mypy
run: uv run mypy --strict src/
- name: Run tests
run: uv run python -m coverage run -m pytest -v
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
docs:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
uses: darbiadev/.github/.github/workflows/github-pages-python-sphinx.yaml@440166417b42442c6114aaa895094f0db7de9b78 # v15.2.0