From: Sebastián Ramírez Date: Thu, 15 Aug 2024 00:38:33 +0000 (-0500) Subject: 🔧 Update Autofix X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06cd3feb954c90f1ad3be66352d20465a6825c2c;p=thirdparty%2Ffastapi%2Ffastapi.git 🔧 Update Autofix --- diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 5413979267..d3629c9f91 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -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