Skip to content

Commit

Permalink
Use venv
Browse files Browse the repository at this point in the history
  • Loading branch information
vuilleumierc committed Oct 7, 2024
1 parent 04bf9bb commit 24e3049
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24e3049

Please sign in to comment.