]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔧 Update Autofix
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 15 Aug 2024 00:38:33 +0000 (19:38 -0500)
committerSebastián Ramírez <tiangolo@gmail.com>
Thu, 15 Aug 2024 00:38:33 +0000 (19:38 -0500)
.github/workflows/autofix.yml

index 541397926759e6e68474e43586f1daac42e6eca2..d3629c9f9168100499722e6d693990493dba5cea 100644 (file)
@@ -23,7 +23,7 @@ jobs:
         with:
           path: ${{ env.pythonLocation }}
           key: ${{ runner.os }}-python-autofix-${{ env.pythonLocation }}-${{ hashFiles('requirements-autofix.txt') }}-v01
-      - name: Install GitHub Actions dependencies
+      - name: Install dependencies
         if: steps.cache.outputs.cache-hit != 'true'
         run: pip install -r requirements-autofix.txt
       - name: Get changed files
@@ -34,7 +34,7 @@ jobs:
         with:
           path: ~/.cache/pre-commit
           key: ${{ runner.os }}-pre-commit-hooks-${{ hashFiles('.pre-commit-config.yml') }}-v01
-      - run: pre-commit run ${{ steps.changed-files.outputs.all_changed_files }}
+      - run: pre-commit run --files ${{ steps.changed-files.outputs.all_changed_files }}
       # Allow debugging with tmate
       - name: Setup tmate session
         uses: mxschmitt/action-tmate@v3