👷 Use uv cache on GitHub Actions (#1366)
This commit is contained in:

committed by
GitHub

parent
1f666c4907
commit
911223516c
1
.github/workflows/generate-client.yml
vendored
1
.github/workflows/generate-client.yml
vendored
@@ -26,6 +26,7 @@ jobs:
|
|||||||
uses: astral-sh/setup-uv@v2
|
uses: astral-sh/setup-uv@v2
|
||||||
with:
|
with:
|
||||||
version: "0.4.15"
|
version: "0.4.15"
|
||||||
|
enable-cache: true
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
1
.github/workflows/lint-backend.yml
vendored
1
.github/workflows/lint-backend.yml
vendored
@@ -23,5 +23,6 @@ jobs:
|
|||||||
uses: astral-sh/setup-uv@v2
|
uses: astral-sh/setup-uv@v2
|
||||||
with:
|
with:
|
||||||
version: "0.4.15"
|
version: "0.4.15"
|
||||||
|
enable-cache: true
|
||||||
- run: uv run bash scripts/lint.sh
|
- run: uv run bash scripts/lint.sh
|
||||||
working-directory: backend
|
working-directory: backend
|
||||||
|
1
.github/workflows/test-backend.yml
vendored
1
.github/workflows/test-backend.yml
vendored
@@ -23,6 +23,7 @@ jobs:
|
|||||||
uses: astral-sh/setup-uv@v2
|
uses: astral-sh/setup-uv@v2
|
||||||
with:
|
with:
|
||||||
version: "0.4.15"
|
version: "0.4.15"
|
||||||
|
enable-cache: true
|
||||||
- run: docker compose down -v --remove-orphans
|
- run: docker compose down -v --remove-orphans
|
||||||
- run: docker compose up -d db mailcatcher
|
- run: docker compose up -d db mailcatcher
|
||||||
- name: Migrate DB
|
- name: Migrate DB
|
||||||
|
Reference in New Issue
Block a user