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

index 7f0c7733452bd98bdf707cf80054c7634065dab3..541397926759e6e68474e43586f1daac42e6eca2 100644 (file)
@@ -22,12 +22,10 @@ jobs:
         id: cache
         with:
           path: ${{ env.pythonLocation }}
-          key: ${{ runner.os }}-python-github-actions-${{ env.pythonLocation }}-${{ hashFiles('requirements-github-actions.txt') }}-v01
+          key: ${{ runner.os }}-python-autofix-${{ env.pythonLocation }}-${{ hashFiles('requirements-autofix.txt') }}-v01
       - name: Install GitHub Actions dependencies
         if: steps.cache.outputs.cache-hit != 'true'
-        run: |
-          pip install -r requirements-github-actions.txt
-          pip install pre-commit
+        run: pip install -r requirements-autofix.txt
       - name: Get changed files
         id: changed-files
         uses: tj-actions/changed-files@v44