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 18b2685
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .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: |
apt-get install --assume-yes --no-install-recommends python3-pip python3-venv
python3 -m venv /venv
export PATH=/venv/bin:$PATH
- run: python3 -m pip install --user --requirement=ci/requirements.txt

- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
Expand Down

0 comments on commit 18b2685

Please sign in to comment.