Skip to content

Commit 7783cb0

Browse files
authored
Merge branch 'master' into add-mjml-to-recommended-vscode-extensions
2 parents 6daf315 + 8af907c commit 7783cb0

File tree

106 files changed

+9278
-6896
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+9278
-6896
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: 6 additions & 3 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@v3
30+
uses: astral-sh/setup-uv@v6
3131
with:
3232
version: "0.4.15"
3333
enable-cache: true
@@ -39,6 +39,9 @@ jobs:
3939
- run: uv run bash scripts/generate-client.sh
4040
env:
4141
VIRTUAL_ENV: backend/.venv
42+
SECRET_KEY: just-for-generating-client
43+
POSTGRES_PASSWORD: just-for-generating-client
44+
FIRST_SUPERUSER_PASSWORD: just-for-generating-client
4245
- name: Add changes to git
4346
run: |
4447
git config --local user.email "[email protected]"

.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.1
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@v3
23+
uses: astral-sh/setup-uv@v6
2424
with:
2525
version: "0.4.15"
2626
enable-cache: true

.github/workflows/playwright.yml

Lines changed: 16 additions & 4 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/*
@@ -59,6 +59,18 @@ jobs:
5959
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
6060
with:
6161
limit-access-to-actor: true
62+
- name: Install uv
63+
uses: astral-sh/setup-uv@v6
64+
with:
65+
version: "0.4.15"
66+
enable-cache: true
67+
- run: uv sync
68+
working-directory: backend
69+
- run: npm ci
70+
working-directory: frontend
71+
- run: uv run bash scripts/generate-client.sh
72+
env:
73+
VIRTUAL_ENV: backend/.venv
6274
- run: docker compose build
6375
- run: docker compose down -v --remove-orphans
6476
- name: Run Playwright tests
@@ -81,15 +93,15 @@ jobs:
8193
if: ${{ !cancelled() && needs.changes.outputs.changed == 'true' }}
8294
runs-on: ubuntu-latest
8395
steps:
84-
- uses: actions/checkout@v4
96+
- uses: actions/checkout@v5
8597
- uses: actions/setup-node@v4
8698
with:
8799
node-version: 20
88100
- name: Install dependencies
89101
run: npm ci
90102
working-directory: frontend
91103
- name: Download blob reports from GitHub Actions Artifacts
92-
uses: actions/download-artifact@v4
104+
uses: actions/download-artifact@v5
93105
with:
94106
path: frontend/all-blob-reports
95107
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@v3
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)