diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55b3de4..709ae03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,15 +14,15 @@ jobs: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: Cache pip packages - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt', '**/pyproject.toml') }} @@ -43,7 +43,7 @@ jobs: pytest --cov --cov-report=xml --cov-report=term-missing - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v7 with: file: ./coverage.xml fail_ci_if_error: false @@ -54,10 +54,10 @@ jobs: type-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: "3.11" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2e4c24b..82885e5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -22,7 +22,7 @@ repos: pass_filenames: false - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.0 + rev: v0.16.3 hooks: - id: ruff args: [--fix] @@ -34,7 +34,7 @@ repos: - id: vulture - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.15.0 + rev: v1.19.1 hooks: - id: mypy exclude: ^tests/ diff --git a/requirements-dev.txt b/requirements-dev.txt index 4ec70e5..0ce5c41 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,14 +2,14 @@ # Install with: pip install -r requirements-dev.txt # Testing -pytest>=8.0.0 -pytest-cov>=5.0.0 +pytest>=8.4.2 +pytest-cov>=7.1.0 # Type checking -mypy>=1.10.0 +mypy>=1.19.1 types-PyYAML types-requests # Linting and formatting (via pre-commit) -pre-commit>=4.0.0 +pre-commit>=4.3.0 vulture>=2.16