chore: fix post install uv hanging indefinitely (#4896)
* remove enable cache * trigger CI * remove extra with paramters which I believe to be unecessary * try installing uv manuallly to avoid post install step * should be fixed by manually installing and not using the action
This commit is contained in:
@@ -21,9 +21,9 @@ jobs:
|
||||
python-version: 3.11
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
enable-cache: true
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Set permissions for log directory
|
||||
run: |
|
||||
|
||||
7
.github/workflows/lint-command.yml
vendored
7
.github/workflows/lint-command.yml
vendored
@@ -89,10 +89,9 @@ jobs:
|
||||
python-version: 3.12
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
enable-cache: false
|
||||
activate-environment: true
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Install dependencies
|
||||
run: uv sync --extra dev --extra postgres --extra external-tools
|
||||
|
||||
6
.github/workflows/migration-test.yml
vendored
6
.github/workflows/migration-test.yml
vendored
@@ -34,9 +34,9 @@ jobs:
|
||||
python-version: 3.11
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
enable-cache: true
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
|
||||
7
.github/workflows/poetry-publish-nightly.yml
vendored
7
.github/workflows/poetry-publish-nightly.yml
vendored
@@ -38,10 +38,9 @@ jobs:
|
||||
python-version: 3.12
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
enable-cache: true
|
||||
activate-environment: true
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Set release version
|
||||
run: |
|
||||
|
||||
8
.github/workflows/poetry-publish.yml
vendored
8
.github/workflows/poetry-publish.yml
vendored
@@ -20,11 +20,9 @@ jobs:
|
||||
python-version: 3.12
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
enable-cache: true
|
||||
activate-environment: true
|
||||
cache-dependency-glob: "uv.lock"
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Build the Python package
|
||||
run: uv build
|
||||
|
||||
6
.github/workflows/reusable-test-workflow.yml
vendored
6
.github/workflows/reusable-test-workflow.yml
vendored
@@ -233,9 +233,9 @@ jobs:
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
enable-cache: true
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Set core directory
|
||||
id: detect-core-dir
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Start with pgvector base for builder
|
||||
FROM ankane/pgvector:v0.5.1 AS builder
|
||||
|
||||
# comment to trigger ci
|
||||
# Install Python and required packages
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python3 \
|
||||
|
||||
Reference in New Issue
Block a user