Skip to content

Commit d227f74

Browse files
committed
Merge branch 'main' into separate_import_error
Signed-off-by: Hubert Chathi <[email protected]>
2 parents fbf8b45 + 2b567e1 commit d227f74

File tree

418 files changed

+21154
-7535
lines changed

Some content is hidden

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

418 files changed

+21154
-7535
lines changed

.deny.toml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ exclude = [
1010
version = 2
1111
ignore = [
1212
{ id = "RUSTSEC-2024-0436", reason = "Unmaintained paste crate, not critical." },
13+
{ id = "RUSTSEC-2025-0056", reason = "Unmaintained adler crate, not a direct dependency" },
1314
]
1415

1516
[licenses]
1617
version = 2
1718
allow = [
1819
"Apache-2.0",
1920
"Apache-2.0 WITH LLVM-exception",
21+
"CDLA-Permissive-2.0",
2022
"BSD-2-Clause",
2123
"BSD-3-Clause",
2224
"BSL-1.0",
@@ -28,15 +30,6 @@ allow = [
2830
]
2931
exceptions = [
3032
{ allow = ["Unicode-DFS-2016"], crate = "unicode-ident" },
31-
{ allow = ["CDDL-1.0"], crate = "inferno" },
32-
{ allow = ["LicenseRef-ring"], crate = "ring" },
33-
]
34-
35-
[[licenses.clarify]]
36-
name = "ring"
37-
expression = "LicenseRef-ring"
38-
license-files = [
39-
{ path = "LICENSE", hash = 0xbd0eed23 },
4033
]
4134

4235
[bans]
@@ -51,9 +44,7 @@ unknown-git = "deny"
5144
allow-git = [
5245
# A patch override for the bindings fixing a bug for Android before upstream
5346
# releases a new version.
54-
"https://github.com/element-hq/tracing.git",
55-
# Same as for the tracing dependency.
56-
"https://github.com/element-hq/paranoid-android.git",
47+
"https://github.com/tokio-rs/tracing.git",
5748
# Well, it's Ruma.
5849
"https://github.com/ruma/ruma",
5950
# A patch override for the bindings: https://github.com/rodrimati1992/const_panic/pull/10

.github/workflows/benchmarks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- linked_chunk
2020
- store_bench
2121
- timeline
22+
- room_list
2223

2324
steps:
2425
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
@@ -34,7 +35,8 @@ jobs:
3435
run: cargo codspeed build -p benchmarks ${{ matrix.benchmark }} --features codspeed
3536

3637
- name: Run the benchmarks
37-
uses: CodSpeedHQ/action@0b6e7a3d96c9d2a6057e7bcea6b45aaf2f7ce60b
38+
uses: CodSpeedHQ/action@653fdc30e6c40ffd9739e40c8a0576f4f4523ca1
3839
with:
3940
run: cargo codspeed run
41+
mode: "instrumentation"
4042
token: ${{ secrets.CODSPEED_TOKEN }}

.github/workflows/bindings_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
ref: main
8080

8181
- name: Use JDK 17
82-
uses: actions/setup-java@v4
82+
uses: actions/setup-java@v5
8383
with:
8484
distribution: 'temurin' # See 'Supported distributions' for available options
8585
java-version: '17'

.github/workflows/ci.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ jobs:
251251
uses: qmaru/[email protected]
252252
if: '!matrix.check_only'
253253
with:
254-
version: v0.10.3
254+
version: v0.13.1
255255

256256
- name: Load cache
257257
uses: Swatinem/rust-cache@v2
@@ -292,7 +292,7 @@ jobs:
292292
uses: actions/checkout@v5
293293

294294
- name: Check the spelling of the files in our repo
295-
uses: crate-ci/typos@v1.35.4
295+
uses: crate-ci/typos@v1.36.2
296296

297297
lint:
298298
name: Lint
@@ -335,8 +335,7 @@ jobs:
335335
target/debug/xtask ci clippy
336336
337337
integration-tests:
338-
name: Integration test
339-
338+
name: 'Integration test (features: ${{ matrix.feature }})'
340339
runs-on: ubuntu-latest
341340

342341
# run several docker containers with the same networking stack so the hostname 'synapse'
@@ -352,6 +351,13 @@ jobs:
352351
ports:
353352
- 8008:8008
354353

354+
strategy:
355+
fail-fast: true
356+
matrix:
357+
feature:
358+
- "default"
359+
- "experimental-encrypted-state-events"
360+
355361
steps:
356362
- name: Checkout the repo
357363
uses: actions/checkout@v5
@@ -378,7 +384,7 @@ jobs:
378384
HOMESERVER_URL: "http://localhost:8008"
379385
HOMESERVER_DOMAIN: "synapse"
380386
run: |
381-
cargo nextest run -p matrix-sdk-integration-testing
387+
cargo nextest run -p matrix-sdk-integration-testing --features "${{ matrix.feature }}"
382388
383389
compile-bench:
384390
name: 🚄 Compile benchmarks

.github/workflows/detect-long-path.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v5
2121
- name: Check for changed files
2222
id: changed-files
23-
uses: tj-actions/changed-files@v46.0.5
23+
uses: tj-actions/changed-files@v47.0.0
2424
- name: Detect long path
2525
env:
2626
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} # ignore the deleted files

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
toolchain: nightly-2025-08-08
3535

3636
- name: Install Node.js
37-
uses: actions/setup-node@v4
37+
uses: actions/setup-node@v5
3838
with:
3939
node-version: 20
4040

@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Upload artifact
5454
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
55-
uses: actions/upload-pages-artifact@v3
55+
uses: actions/upload-pages-artifact@v4
5656
with:
5757
path: './target/doc/'
5858

.github/workflows/upload_coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: 'Fetch coverage report from artifacts'
2020
id: prepare_report
21-
uses: actions/github-script@v7
21+
uses: actions/github-script@v8
2222
with:
2323
script: |
2424
var fs = require('fs');

0 commit comments

Comments
 (0)