From ad76188e02828bcbbb63a8bb1984c381549c4466 Mon Sep 17 00:00:00 2001 From: Anne Haley Date: Thu, 10 Oct 2024 15:11:30 +0000 Subject: [PATCH] fix: Use `pipx` action in lint workflow to avoid "externally managed environment" error --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17a67ea0..c29ed4ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: pip install tox + - name: Install Tox + uses: threeal/pipx-install-action@v1.0.0 + with: + packages: tox - name: Lint run: tox -e lint