diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f2afb0f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + - package-ecosystem: pip + directory: / + schedule: + interval: weekly + groups: + dev-dependencies: + dependency-type: development diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1eb405d..caa702b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,14 +25,14 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.11", "3.12", "3.13" ] + python-version: [ "3.11", "3.12", "3.13", "3.14" ] steps: - name: Checkout code - 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 }} cache: 'pip' @@ -44,10 +44,10 @@ jobs: - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: .venv - key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} + key: venv-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' @@ -77,7 +77,7 @@ jobs: if: success() || failure() - name: Surface failing tests - uses: pmeier/pytest-results-action@main + uses: pmeier/pytest-results-action@v0.9.0 with: title: Test results (Python ${{ matrix.python-version }}) path: junit/test-results-${{ matrix.python-version }}.xml @@ -108,14 +108,14 @@ jobs: steps: - name: Check out code from GitHub - 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' - name: Build and publish to pypi - uses: JRubics/poetry-publish@v2.0 + uses: JRubics/poetry-publish@v2.1 with: pypi_token: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 98c4d2c..6832381 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,12 +10,12 @@ default_language_version: repos: - repo: https://github.com/python-poetry/poetry - rev: '2.1.3' + rev: '2.5.1' hooks: - id: poetry-check - id: poetry-lock - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.0 + rev: v0.17.1 hooks: - id: ruff args: @@ -40,7 +40,7 @@ repos: require_serial: true exclude: ^tests/.+ - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-yaml - id: check-added-large-files