mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
⬆️ Bump setup-uv action to 10.0.1 (#2458)
This commit is contained in:
@@ -28,11 +28,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
- name: Setup uv
|
- name: Setup uv
|
||||||
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
||||||
with:
|
with:
|
||||||
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
|
version: "latest-known"
|
||||||
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
|
|
||||||
version: "0.11.18"
|
|
||||||
cache-dependency-glob: |
|
cache-dependency-glob: |
|
||||||
pyproject.toml
|
pyproject.toml
|
||||||
uv.lock
|
uv.lock
|
||||||
|
|||||||
@@ -29,11 +29,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
||||||
with:
|
with:
|
||||||
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
|
version: "latest-known"
|
||||||
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
|
|
||||||
version: "0.11.18"
|
|
||||||
- name: Extract release details
|
- name: Extract release details
|
||||||
id: release-details
|
id: release-details
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -35,9 +35,9 @@ jobs:
|
|||||||
# Override frontend/.env so the deployed frontend uses the same origin as the API
|
# Override frontend/.env so the deployed frontend uses the same origin as the API
|
||||||
VITE_API_URL: ""
|
VITE_API_URL: ""
|
||||||
- name: Set up uv
|
- name: Set up uv
|
||||||
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
||||||
with:
|
with:
|
||||||
version: "0.11.18"
|
version: "latest-known"
|
||||||
- name: Prepare database
|
- name: Prepare database
|
||||||
run: uv run bash scripts/prestart.sh
|
run: uv run bash scripts/prestart.sh
|
||||||
working-directory: backend
|
working-directory: backend
|
||||||
|
|||||||
@@ -66,11 +66,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
limit-access-to-actor: true
|
limit-access-to-actor: true
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
||||||
with:
|
with:
|
||||||
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
|
version: "latest-known"
|
||||||
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
|
|
||||||
version: "0.11.18"
|
|
||||||
- run: uv sync
|
- run: uv sync
|
||||||
working-directory: backend
|
working-directory: backend
|
||||||
- run: bun ci
|
- run: bun ci
|
||||||
|
|||||||
@@ -46,11 +46,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: .python-version
|
python-version-file: .python-version
|
||||||
- name: Setup uv
|
- name: Setup uv
|
||||||
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
||||||
with:
|
with:
|
||||||
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
|
version: "latest-known"
|
||||||
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
|
|
||||||
version: "0.11.18"
|
|
||||||
cache-dependency-glob: |
|
cache-dependency-glob: |
|
||||||
requirements**.txt
|
requirements**.txt
|
||||||
pyproject.toml
|
pyproject.toml
|
||||||
|
|||||||
@@ -38,11 +38,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: ".python-version"
|
python-version-file: ".python-version"
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
||||||
with:
|
with:
|
||||||
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
|
version: "latest-known"
|
||||||
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
|
|
||||||
version: "0.11.18"
|
|
||||||
- name: Prepare release
|
- name: Prepare release
|
||||||
env:
|
env:
|
||||||
BUMP: ${{ inputs.bump }}
|
BUMP: ${{ inputs.bump }}
|
||||||
|
|||||||
@@ -24,11 +24,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: .python-version
|
python-version-file: .python-version
|
||||||
- name: Setup uv
|
- name: Setup uv
|
||||||
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
||||||
with:
|
with:
|
||||||
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
|
version: "latest-known"
|
||||||
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
|
|
||||||
version: "0.11.18"
|
|
||||||
cache-dependency-glob: |
|
cache-dependency-glob: |
|
||||||
pyproject.toml
|
pyproject.toml
|
||||||
uv.lock
|
uv.lock
|
||||||
|
|||||||
@@ -22,11 +22,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version-file: .python-version
|
python-version-file: .python-version
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
||||||
with:
|
with:
|
||||||
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
|
version: "latest-known"
|
||||||
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
|
|
||||||
version: "0.11.18"
|
|
||||||
- run: docker compose down -v --remove-orphans
|
- run: docker compose down -v --remove-orphans
|
||||||
- run: docker compose up -d db mailpit
|
- run: docker compose up -d db mailpit
|
||||||
- name: Migrate DB
|
- name: Migrate DB
|
||||||
|
|||||||
Reference in New Issue
Block a user