From aed585f65160269739048bb7a184e4306104181b Mon Sep 17 00:00:00 2001 From: Ben Jeffery Date: Wed, 16 Oct 2024 10:51:26 +0100 Subject: [PATCH] Fix lint action for new pip constraint --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 51e6d9cc29..1a48ada4ac 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,8 +21,9 @@ jobs: - name: install clang-format if: steps.clang_format.outputs.cache-hit != 'true' run: | - sudo pip install clang-format==6.0.1 - sudo ln -s /usr/local/bin/clang-format /usr/local/bin/clang-format-6.0 + python -m venv env + source env/bin/activate + pip install clang-format==6.0.1 - uses: pre-commit/action@v3.0.0 benchmark: