diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index cbe3d343..e44d0268 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 - - run: python -m pip install pre-commit - - run: python -m pre_commit --version - - run: python -m pre_commit install - - run: python -m pre_commit run --all-files + - run: pipx install pre-commit + - run: pre-commit --version + - run: pre-commit install + - run: pre-commit run --all-files