From b05d4f6eb93f129699ddc76247fcc5c318f65f25 Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Wed, 30 Oct 2024 07:59:10 -0400 Subject: [PATCH] testing --- .github/workflows/python-cqa.yml | 52 +++++++++++++++++--------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/.github/workflows/python-cqa.yml b/.github/workflows/python-cqa.yml index ed2e4913..70e0da7f 100644 --- a/.github/workflows/python-cqa.yml +++ b/.github/workflows/python-cqa.yml @@ -43,29 +43,33 @@ jobs: precommit_hooks: runs-on: ubuntu-latest - strategy: - matrix: - hook: - - cmd: "end-of-file-fixer" - - cmd: "trailing-whitespace" - - cmd: "mixed-line-ending" steps: - uses: actions/checkout@v4 - - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-precommit-${{ hashFiles('pyproject.toml') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Set up Python 3.12 - uses: actions/setup-python@v5 - with: - python-version: 3.12 - - name: Update pip and setuptools - run: | - python -m pip install --upgrade pip setuptools - - name: Install dependencies - run: | - pip install -e .[dev] - - name: Run pre-commit ${{ matrix.hook.cmd }} hook - run: pre-commit run ${{ matrix.hook.cmd }} --all-files + - uses: actions/setup-python@v5 + - uses: pre-commit/action@v3.0.1 + # strategy: + # matrix: + # hook: + # - cmd: "end-of-file-fixer" + # - cmd: "trailing-whitespace" + # - cmd: "mixed-line-ending" + # steps: + # - uses: actions/checkout@v4 + # - uses: actions/cache@v4 + # with: + # path: ~/.cache/pip + # key: ${{ runner.os }}-pip-precommit-${{ hashFiles('pyproject.toml') }} + # restore-keys: | + # ${{ runner.os }}-pip- + # - name: Set up Python 3.12 + # uses: actions/setup-python@v5 + # with: + # python-version: 3.12 + # - name: Update pip and setuptools + # run: | + # python -m pip install --upgrade pip setuptools + # - name: Install dependencies + # run: | + # pip install -e .[dev] + # - name: Run pre-commit ${{ matrix.hook.cmd }} hook + # run: pre-commit run ${{ matrix.hook.cmd }} --all-files