Skip to content

chore(deps): bump cffi from 2.0.0 to 2.1.0 #1503

chore(deps): bump cffi from 2.0.0 to 2.1.0

chore(deps): bump cffi from 2.0.0 to 2.1.0 #1503

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
jobs:
pre-commit:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out (Dependabot)
if: github.actor == 'dependabot[bot]'
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Check out (Normal)
if: github.actor != 'dependabot[bot]'
uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{hashFiles('.pre-commit-config.yaml')}}
- name: Set up the environment
uses: ./.github/actions/setup-python-env
- name: Run pre-commit
id: pre-commit
run: uv run pre-commit run -a --show-diff-on-failure
continue-on-error: true
- name: Auto-commit changes (Dependabot)
if: always() && github.actor == 'dependabot[bot]' && steps.pre-commit.outcome == 'failure'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(deps): auto-update requirements files"
- name: Fail if pre-commit failed
if: steps.pre-commit.outcome == 'failure' && github.actor != 'dependabot[bot]'
run: exit 1
- name: Check lock file consistency
run: uv sync --locked
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
defaults:
run:
shell: bash
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up the environment
uses: ./.github/actions/setup-python-env
with:
python-version: ${{matrix.python-version}}
- name: Run tests
run: uv run python -m pytest kloppy/tests