Skip to content

Fix CI / build_and_test_using_docker.yml: Work around installation error "AttributeError: cython_sources" #2465

Fix CI / build_and_test_using_docker.yml: Work around installation error "AttributeError: cython_sources"

Fix CI / build_and_test_using_docker.yml: Work around installation error "AttributeError: cython_sources" #2465

Workflow file for this run

name: Run pre-commit on all files
on:
- pull_request
- push
jobs:
run_pre_commit:
name: Run pre-commit on all files
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up Python 3.11
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: 3.11
- name: Install pre-commit
run: |-
pip install \
--disable-pip-version-check \
--user \
--no-warn-script-location \
pre-commit
echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}"
- name: Install pre-commit hooks
run: |-
pre-commit install --install-hooks
- name: Run pre-commit on all files
run: |-
pre-commit run --all-files --show-diff-on-failure