Skip to content

Commit

Permalink
Try out hack by placing venv in system Python
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Feb 16, 2024
1 parent 322b80d commit fe520f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ jobs:
if: steps.setup_python_hack.outputs.tmp_deps_file
run: |
rm ./pyproject.toml
- name: Hack uv to use system Python as default venv
# See: https://github.com/astral-sh/uv/issues/1386#issuecomment-1947801083
run: |

Check failure on line 64 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / lint-github-action

shellcheck reported issue in this script: SC2086:info:1:42: Double quote to prevent globbing and word splitting
echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV
- name: Install uv
run: |
python -m pip install uv
Expand All @@ -80,7 +84,7 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
. .venv/bin/activate && python -c "$(curl -fsSL
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
lint-python-types:
Expand Down

0 comments on commit fe520f6

Please sign in to comment.