Skip to content

Commit c84760b

Browse files
committed
Merge PR yewstack#3875: Preserve camelCase for known svg elements
2 parents b8746c9 + 3ad175b commit c84760b

File tree

318 files changed

+4827
-1605
lines changed

Some content is hidden

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

318 files changed

+4827
-1605
lines changed

.github/workflows/auto-approve-maintainer-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
steps:
1717
- name: Check if organization member
1818
id: is_organization_member
19-
uses: JamesSingleton/is-organization-member@1.0.1
19+
uses: JamesSingleton/is-organization-member@1.1.0
2020
with:
2121
organization: "yewstack"
2222
username: ${{ github.event.pull_request.user.login }}
2323
token: ${{ secrets.GITHUB_TOKEN }}
2424

2525
- name: Auto approve
26-
uses: hmarr/auto-approve-action@v3
26+
uses: hmarr/auto-approve-action@v4
2727
if: ${{ steps.is_organization_member.outputs.result == 'true' || github.actor == 'dependabot[bot]' }}
2828
with:
2929
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/benchmark.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ jobs:
118118
npm start &
119119
sleep 5
120120
121+
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
122+
- run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
123+
121124
- name: Run js-framework-benchmark/webdriver-ts npm run bench
122125
working-directory: js-framework-benchmark/webdriver-ts
123126
run: xvfb-run npm run bench -- --framework keyed/yew keyed/yew-hooks --runner playwright --chromeBinary "${{ steps.setup-chrome.outputs.chrome-path }}"

.github/workflows/main-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
fail-fast: false
7070
matrix:
7171
toolchain:
72-
- 1.76.0
72+
- 1.78.0
7373
- stable
7474

7575
steps:
@@ -120,7 +120,7 @@ jobs:
120120
fail-fast: false
121121
matrix:
122122
toolchain:
123-
- 1.76.0
123+
- 1.78.0
124124
- stable
125125
- nightly
126126

.github/workflows/post-benchmark-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: echo "PR_NUMBER=$(cat benchmark-core/.PR_NUMBER)" >> $GITHUB_ENV
4747

4848
- name: Post Comment
49-
uses: actions/github-script@v6
49+
uses: actions/github-script@v7
5050
with:
5151
script: |
5252
const fs = require('fs');

.github/workflows/post-benchmark-ssr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: echo "PR_NUMBER=$(cat benchmark-ssr/.PR_NUMBER)" >> $GITHUB_ENV
3232

3333
- name: Post Comment
34-
uses: actions/github-script@v6
34+
uses: actions/github-script@v7
3535
with:
3636
script: |
3737
const commentInfo = {

.github/workflows/post-size-cmp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: python3 ci/make_example_size_cmt.py
3737

3838
- name: Post Comment
39-
uses: actions/github-script@v6
39+
uses: actions/github-script@v7
4040
with:
4141
script: |
4242
const commentInfo = {

.github/workflows/publish-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches: [master]
55
paths:
6-
- 'ci/**'
6+
- 'tools/build-examples/**'
77
- 'examples/**'
88

99
jobs:
@@ -28,12 +28,12 @@ jobs:
2828
with:
2929
shared-key: publish-examples
3030

31-
- uses: jetli/trunk-action@v0.5.0
31+
- uses: jetli/trunk-action@v0.5.1
3232
with:
3333
version: 'latest'
3434

3535
- name: Build examples
36-
run: ./ci/build-examples.sh
36+
run: cargo run -p build-examples --bin build-examples
3737

3838
- name: Deploy to Firebase
3939
uses: siku2/action-hosting-deploy@v1

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070

7171
- name: Create a version branch
7272
if: github.event.inputs.level != 'patch'
73-
uses: peterjgrainger/action-create-branch@v2.4.0
73+
uses: peterjgrainger/action-create-branch@v3.0.0
7474
env:
7575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7676
with:

.github/workflows/size-cmp.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ jobs:
3232

3333
- name: Write Optimisation Flags
3434
run: |
35-
echo 'share-generics = true' >> .cargo/config.toml
3635
echo 'build-std = ["std", "panic_abort"]' >> .cargo/config.toml
3736
echo 'build-std-features = ["panic_immediate_abort"]' >> .cargo/config.toml
37+
echo '[build]' >> .cargo/config.toml
38+
echo 'rustflags = ["-Cpanic=abort"]' >> .cargo/config.toml
3839
3940
- name: Setup toolchain
4041
uses: dtolnay/rust-toolchain@master
@@ -49,16 +50,12 @@ jobs:
4950
shared-key: size-compare
5051

5152
- name: Setup Trunk
52-
uses: jetli/trunk-action@v0.5.0
53+
uses: jetli/trunk-action@v0.5.1
5354
with:
5455
version: "latest"
5556

5657
- name: Build examples
57-
run: find ./*/index.html | xargs -I '{}' trunk build --release '{}' || exit 0
58-
working-directory: examples
59-
env:
60-
RUSTUP_TOOLCHAIN: nightly
61-
RUSTFLAGS: --cfg nightly_yew
58+
run: cargo run -p build-examples --bin build-examples
6259

6360
- name: Collect size information
6461
run: python3 ci/collect_sizes.py

0 commit comments

Comments
 (0)