Skip to content

Commit b05d4f6

Browse files
committed
testing
1 parent f975b51 commit b05d4f6

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

.github/workflows/python-cqa.yml

+28-24
Original file line numberDiff line numberDiff line change
@@ -43,29 +43,33 @@ jobs:
4343
4444
precommit_hooks:
4545
runs-on: ubuntu-latest
46-
strategy:
47-
matrix:
48-
hook:
49-
- cmd: "end-of-file-fixer"
50-
- cmd: "trailing-whitespace"
51-
- cmd: "mixed-line-ending"
5246
steps:
5347
- uses: actions/checkout@v4
54-
- uses: actions/cache@v4
55-
with:
56-
path: ~/.cache/pip
57-
key: ${{ runner.os }}-pip-precommit-${{ hashFiles('pyproject.toml') }}
58-
restore-keys: |
59-
${{ runner.os }}-pip-
60-
- name: Set up Python 3.12
61-
uses: actions/setup-python@v5
62-
with:
63-
python-version: 3.12
64-
- name: Update pip and setuptools
65-
run: |
66-
python -m pip install --upgrade pip setuptools
67-
- name: Install dependencies
68-
run: |
69-
pip install -e .[dev]
70-
- name: Run pre-commit ${{ matrix.hook.cmd }} hook
71-
run: pre-commit run ${{ matrix.hook.cmd }} --all-files
48+
- uses: actions/setup-python@v5
49+
- uses: pre-commit/[email protected]
50+
# strategy:
51+
# matrix:
52+
# hook:
53+
# - cmd: "end-of-file-fixer"
54+
# - cmd: "trailing-whitespace"
55+
# - cmd: "mixed-line-ending"
56+
# steps:
57+
# - uses: actions/checkout@v4
58+
# - uses: actions/cache@v4
59+
# with:
60+
# path: ~/.cache/pip
61+
# key: ${{ runner.os }}-pip-precommit-${{ hashFiles('pyproject.toml') }}
62+
# restore-keys: |
63+
# ${{ runner.os }}-pip-
64+
# - name: Set up Python 3.12
65+
# uses: actions/setup-python@v5
66+
# with:
67+
# python-version: 3.12
68+
# - name: Update pip and setuptools
69+
# run: |
70+
# python -m pip install --upgrade pip setuptools
71+
# - name: Install dependencies
72+
# run: |
73+
# pip install -e .[dev]
74+
# - name: Run pre-commit ${{ matrix.hook.cmd }} hook
75+
# run: pre-commit run ${{ matrix.hook.cmd }} --all-files

0 commit comments

Comments
 (0)