diff --git a/.github/workflows/code-embedder-test2.yaml b/.github/workflows/code-embedder-test2.yaml index 7a416f5..bbbb678 100644 --- a/.github/workflows/code-embedder-test2.yaml +++ b/.github/workflows/code-embedder-test2.yaml @@ -9,12 +9,19 @@ jobs: code_embedder: name: "Code embedder" runs-on: ubuntu-latest + env: + PYTHON_VERSION: "3.12" steps: - name: Checkout uses: actions/checkout@v4 # with: # ref: ${{ github.event.pull_request.head.ref }} + - name: 🐍 Set up Python ${{ env.PYTHON_VERSION }} + uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + - name: 🪄 Format comments in code snippets run: python dev/scripts/format_snippet_prints.py diff --git a/.github/workflows/code-embedder.yaml b/.github/workflows/code-embedder.yaml index aee1d45..6c21bc7 100644 --- a/.github/workflows/code-embedder.yaml +++ b/.github/workflows/code-embedder.yaml @@ -39,8 +39,8 @@ jobs: - name: 📥 Install the project run: | - uv sync --all-extras --dev uv python install ${{ env.PYTHON_VERSION }} + uv sync --all-extras --dev uv pip install . # - name: 🏞️ Activate virtual environment