Skip to content

Commit 5874ecf

Browse files
authored
Merge branch 'fastapi:master' into backend-tests-performance-improvements
2 parents 10a5875 + 8af907c commit 5874ecf

22 files changed

+1548
-786
lines changed

.github/dependabot.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,33 @@ updates:
77
interval: daily
88
commit-message:
99
prefix:
10-
# Python
11-
- package-ecosystem: pip
12-
directory: /
10+
# Python uv
11+
- package-ecosystem: uv
12+
directory: /backend
13+
schedule:
14+
interval: daily
15+
commit-message:
16+
prefix:
17+
# npm
18+
- package-ecosystem: npm
19+
directory: /frontend
1320
schedule:
1421
interval: daily
1522
commit-message:
1623
prefix:
24+
# Docker
25+
- package-ecosystem: docker
26+
directories:
27+
- /backend
28+
- /frontend
29+
schedule:
30+
interval: weekly
31+
commit-message:
32+
prefix:
33+
# Docker Compose
34+
- package-ecosystem: docker-compose
35+
directory: /
36+
schedule:
37+
interval: weekly
38+
commit-message:
39+
prefix:

.github/workflows/deploy-production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v5
3131
- run: docker compose -f docker-compose.yml --project-name ${{ secrets.STACK_NAME_PRODUCTION }} build
3232
- run: docker compose -f docker-compose.yml --project-name ${{ secrets.STACK_NAME_PRODUCTION }} up -d

.github/workflows/deploy-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v5
3131
- run: docker compose -f docker-compose.yml --project-name ${{ secrets.STACK_NAME_STAGING }} build
3232
- run: docker compose -f docker-compose.yml --project-name ${{ secrets.STACK_NAME_STAGING }} up -d

.github/workflows/generate-client.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
# For PRs from forks
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
# For PRs from the same repo
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v5
1919
if: ( github.event_name != 'pull_request' || github.secret_source == 'Actions' )
2020
with:
2121
ref: ${{ github.head_ref }}
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
python-version: "3.10"
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@v5
30+
uses: astral-sh/setup-uv@v6
3131
with:
3232
version: "0.4.15"
3333
enable-cache: true
@@ -39,7 +39,6 @@ jobs:
3939
- run: uv run bash scripts/generate-client.sh
4040
env:
4141
VIRTUAL_ENV: backend/.venv
42-
ENVIRONMENT: production
4342
SECRET_KEY: just-for-generating-client
4443
POSTGRES_PASSWORD: just-for-generating-client
4544
FIRST_SUPERUSER_PASSWORD: just-for-generating-client

.github/workflows/latest-changes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
env:
2727
GITHUB_CONTEXT: ${{ toJson(github) }}
2828
run: echo "$GITHUB_CONTEXT"
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v5
3030
with:
3131
# To allow latest-changes to commit to the main branch
3232
token: ${{ secrets.LATEST_CHANGES }}
33-
- uses: tiangolo/latest-changes@0.3.2
33+
- uses: tiangolo/latest-changes@0.4.0
3434
with:
3535
token: ${{ secrets.GITHUB_TOKEN }}
3636
latest_changes_file: ./release-notes.md

.github/workflows/lint-backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
2121
python-version: "3.10"
2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v5
23+
uses: astral-sh/setup-uv@v6
2424
with:
2525
version: "0.4.15"
2626
enable-cache: true

.github/workflows/playwright.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
outputs:
2323
changed: ${{ steps.filter.outputs.changed }}
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v5
2626
# For pull requests it's not necessary to checkout the code but for the main branch it is
2727
- uses: dorny/paths-filter@v3
2828
id: filter
@@ -47,7 +47,7 @@ jobs:
4747
shardTotal: [4]
4848
fail-fast: false
4949
steps:
50-
- uses: actions/checkout@v4
50+
- uses: actions/checkout@v5
5151
- uses: actions/setup-node@v4
5252
with:
5353
node-version: lts/*
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
limit-access-to-actor: true
6262
- name: Install uv
63-
uses: astral-sh/setup-uv@v5
63+
uses: astral-sh/setup-uv@v6
6464
with:
6565
version: "0.4.15"
6666
enable-cache: true
@@ -93,15 +93,15 @@ jobs:
9393
if: ${{ !cancelled() && needs.changes.outputs.changed == 'true' }}
9494
runs-on: ubuntu-latest
9595
steps:
96-
- uses: actions/checkout@v4
96+
- uses: actions/checkout@v5
9797
- uses: actions/setup-node@v4
9898
with:
9999
node-version: 20
100100
- name: Install dependencies
101101
run: npm ci
102102
working-directory: frontend
103103
- name: Download blob reports from GitHub Actions Artifacts
104-
uses: actions/download-artifact@v4
104+
uses: actions/download-artifact@v5
105105
with:
106106
path: frontend/all-blob-reports
107107
pattern: blob-report-*

.github/workflows/smokeshow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
statuses: write
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818
- uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.10"
2121
- run: pip install smokeshow
22-
- uses: actions/download-artifact@v4
22+
- uses: actions/download-artifact@v5
2323
with:
2424
name: coverage-html
2525
path: backend/htmlcov

.github/workflows/test-backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
2121
python-version: "3.10"
2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v5
23+
uses: astral-sh/setup-uv@v6
2424
with:
2525
version: "0.4.15"
2626
enable-cache: true

.github/workflows/test-docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
- run: docker compose build
2020
- run: docker compose down -v --remove-orphans
2121
- run: docker compose up -d --wait backend frontend adminer

0 commit comments

Comments
 (0)