Skip to content

Commit 3e65208

Browse files
authored
Merge branch 'master' into readme-rss
2 parents 6af3a22 + 203910a commit 3e65208

185 files changed

Lines changed: 7306 additions & 6534 deletions

File tree

Some content is hidden

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

.github/workflows/build.yml

Lines changed: 138 additions & 70 deletions
Large diffs are not rendered by default.

.github/workflows/check.yml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
name: "Check"
2+
3+
on:
4+
pull_request: {}
5+
merge_group: {}
6+
7+
env:
8+
CARGO_TERM_COLOR: always
9+
10+
jobs:
11+
# Check if CI can be skipped (for merge queue deduplication)
12+
skip-check:
13+
runs-on: ubuntu-latest
14+
outputs:
15+
skip: ${{ steps.check.outputs.skip-check }}
16+
steps:
17+
- name: 📥 Clone repository
18+
uses: actions/checkout@v6
19+
20+
- name: 🚦 Check if CI can be skipped
21+
id: check
22+
uses: cariad-tech/merge-queue-ci-skipper@cf80db21fc70244e36487acc531b3f1118889b0a
23+
24+
# Build the web app via the shared build workflow
25+
build:
26+
needs: skip-check
27+
if: needs.skip-check.outputs.skip != 'true'
28+
uses: ./.github/workflows/build.yml
29+
secrets: inherit
30+
with:
31+
web: true
32+
merge_queue: ${{ github.event_name == 'merge_group' }}
33+
34+
# Run the Rust tests on the self-hosted native runner
35+
test:
36+
needs: skip-check
37+
if: needs.skip-check.outputs.skip != 'true'
38+
runs-on: [self-hosted, target/native]
39+
env:
40+
RUSTC_WRAPPER: /usr/bin/sccache
41+
CARGO_INCREMENTAL: 0
42+
SCCACHE_DIR: /var/lib/github-actions/.cache
43+
steps:
44+
- name: 📥 Clone repository
45+
uses: actions/checkout@v6
46+
47+
- name: 🦀 Install Rust
48+
uses: actions-rust-lang/setup-rust-toolchain@v1
49+
with:
50+
toolchain: stable
51+
override: true
52+
cache: false
53+
rustflags: ""
54+
55+
- name: 🦀 Fetch Rust dependencies
56+
run: cargo fetch --locked
57+
58+
- name: 🧪 Run Rust tests
59+
env:
60+
RUSTFLAGS: -Dwarnings
61+
run: mold -run cargo test --all-features
62+
63+
# Rust format check on GitHub runner
64+
rust-fmt:
65+
needs: skip-check
66+
if: needs.skip-check.outputs.skip != 'true'
67+
runs-on: ubuntu-latest
68+
steps:
69+
- name: 📥 Clone repository
70+
uses: actions/checkout@v6
71+
72+
- name: 🦀 Install Rust
73+
uses: actions-rust-lang/setup-rust-toolchain@v1
74+
with:
75+
toolchain: stable
76+
override: true
77+
cache: false
78+
rustflags: ""
79+
components: rustfmt
80+
81+
- name: 🔬 Check Rust formatting
82+
run: cargo fmt --all -- --check
83+
84+
# License compatibility check on GitHub runner
85+
check-licenses:
86+
needs: skip-check
87+
if: needs.skip-check.outputs.skip != 'true'
88+
runs-on: ubuntu-latest
89+
steps:
90+
- name: 📥 Clone repository
91+
uses: actions/checkout@v6
92+
93+
- name: 📜 Check crate license compatibility for root workspace
94+
uses: EmbarkStudios/cargo-deny-action@v2
95+
with:
96+
command: check bans licenses sources
97+
98+
- name: 📜 Check crate license compatibility for /libraries/rawkit
99+
uses: EmbarkStudios/cargo-deny-action@v2
100+
with:
101+
command: check bans licenses sources
102+
manifest-path: libraries/rawkit/Cargo.toml

.github/workflows/ci.yml

Lines changed: 0 additions & 160 deletions
This file was deleted.

.github/workflows/comment-clippy-warnings.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
fi
5353
5454
- name: Delete previous comments
55-
uses: actions/github-script@v6
55+
uses: actions/github-script@v8
5656
with:
5757
github-token: ${{secrets.GITHUB_TOKEN}}
5858
script: |
@@ -76,7 +76,7 @@ jobs:
7676
7777
- name: Comment PR
7878
if: steps.clippy.outputs.CLIPPY_ISSUES_FOUND == 'true'
79-
uses: actions/github-script@v6
79+
uses: actions/github-script@v8
8080
with:
8181
github-token: ${{secrets.GITHUB_TOKEN}}
8282
script: |

.github/workflows/comment-profiling-changes.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
- name: Make old comments collapsed by default
9999
# Only run if we have write permissions (not a fork)
100100
if: github.event.pull_request.head.repo.full_name == github.repository
101-
uses: actions/github-script@v7
101+
uses: actions/github-script@v8
102102
with:
103103
github-token: ${{secrets.GITHUB_TOKEN}}
104104
script: |
@@ -124,7 +124,7 @@ jobs:
124124
125125
- name: Analyze profiling changes
126126
id: analyze
127-
uses: actions/github-script@v7
127+
uses: actions/github-script@v8
128128
with:
129129
script: |
130130
const fs = require('fs');
@@ -183,7 +183,7 @@ jobs:
183183
184184
- name: Comment PR
185185
if: github.event.pull_request.head.repo.full_name == github.repository
186-
uses: actions/github-script@v7
186+
uses: actions/github-script@v8
187187
with:
188188
github-token: ${{secrets.GITHUB_TOKEN}}
189189
script: |
@@ -333,7 +333,7 @@ jobs:
333333
334334
- name: Fail on significant regressions
335335
if: steps.analyze.outputs.has-significant-changes == 'true'
336-
uses: actions/github-script@v7
336+
uses: actions/github-script@v8
337337
with:
338338
script: |
339339
const regressionDetails = JSON.parse('${{ steps.analyze.outputs.regression-details }}');

.github/workflows/release.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)