diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 171756e..5a49dd6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -23,8 +23,11 @@ jobs: if: env.HAS_SECRETS == 'HAS_SECRETS' - run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH} - - run: python3 -m pip install --user --requirement=ci/requirements.txt - + - run: | + python3 -m venv /tmp/venv + export PATH=/tmp/venv/bin:$PATH + python3 -m pip install --requirement=ci/requirements.txt + name: Install CI requirements - uses: actions/cache@v4 with: path: ~/.cache/pre-commit