Skip to content

Commit b3897ff

Browse files
committed
Merge branch 'master' into fix/suspense-use-effect-dom-ordering
2 parents c456a5f + 28219ae commit b3897ff

1,027 files changed

Lines changed: 40730 additions & 25229 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/benchmark-core.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
- name: Restore Rust cache for yew packages
3535
uses: Swatinem/rust-cache@v2
3636
with:
37-
shared-key: yew-packages
3837
workspaces: |
3938
yew-master
4039
current-pr
@@ -52,7 +51,7 @@ jobs:
5251
echo "${{ github.event.number }}" > .PR_NUMBER
5352
5453
- name: Upload Artifact
55-
uses: actions/upload-artifact@v4
54+
uses: actions/upload-artifact@v7
5655
with:
5756
name: benchmark-core
5857
include-hidden-files: true

.github/workflows/benchmark-ssr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
- name: Restore Rust cache for yew packages
4040
uses: Swatinem/rust-cache@v2
4141
with:
42-
shared-key: yew-packages
4342
workspaces: |
4443
yew-master
4544
current-pr
@@ -57,7 +56,7 @@ jobs:
5756
echo "${{ github.event.number }}" > .PR_NUMBER
5857
5958
- name: Upload Artifact
60-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v7
6160
with:
6261
name: benchmark-ssr
6362
include-hidden-files: true

.github/workflows/benchmark.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Restore Rust cache for yew packages
5252
uses: Swatinem/rust-cache@v2
5353
with:
54-
shared-key: yew-packages
54+
save-if: ${{ github.ref == 'refs/heads/master' }}
5555
workspaces: |
5656
yew
5757
@@ -123,7 +123,9 @@ jobs:
123123

124124
- name: Run js-framework-benchmark/webdriver-ts npm run bench
125125
working-directory: js-framework-benchmark/webdriver-ts
126-
run: xvfb-run npm run bench -- --framework keyed/yew keyed/yew-hooks --runner playwright --chromeBinary "${{ steps.setup-chrome.outputs.chrome-path }}"
126+
run: xvfb-run npm run bench -- --framework keyed/yew keyed/yew-hooks --runner playwright --chromeBinary "$CHROME_PATH"
127+
env:
128+
CHROME_PATH: ${{ steps.setup-chrome.outputs.chrome-path }}
127129

128130
- name: Transform results to be fit for display benchmark-action/github-action-benchmark@v1
129131
run: |
@@ -134,7 +136,7 @@ jobs:
134136
EVENT_INFO: ${{ toJSON(github.event) }}
135137

136138
- name: Upload result artifacts
137-
uses: actions/upload-artifact@v4
139+
uses: actions/upload-artifact@v7
138140
with:
139141
name: results
140142
path: artifacts/

.github/workflows/build-api-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
cp -r target/doc/* api-docs/dist/next
4545
4646
- name: Upload build artifact
47-
uses: actions/upload-artifact@v4
47+
uses: actions/upload-artifact@v7
4848
with:
4949
name: api-docs
5050
path: api-docs/
@@ -57,7 +57,7 @@ jobs:
5757
5858
- if: github.event_name == 'pull_request'
5959
name: Upload pr info
60-
uses: actions/upload-artifact@v4
60+
uses: actions/upload-artifact@v7
6161
with:
6262
name: pr-info
6363
include-hidden-files: true

.github/workflows/build-website.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
npm run build
5757
5858
- name: Upload build artifact
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v7
6060
with:
6161
name: website
6262
path: website/build/
@@ -69,7 +69,7 @@ jobs:
6969
7070
- if: github.event_name == 'pull_request'
7171
name: Upload pr info
72-
uses: actions/upload-artifact@v4
72+
uses: actions/upload-artifact@v7
7373
with:
7474
name: pr-info
7575
include-hidden-files: true

.github/workflows/clippy.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
profile:
2626
- dev
2727
- release
28+
target:
29+
- host
30+
- wasm32
2831
steps:
2932
- uses: actions/checkout@v6
3033

@@ -33,18 +36,26 @@ jobs:
3336
with:
3437
toolchain: stable
3538
components: clippy
39+
targets: ${{ case(matrix.target == 'wasm32', 'wasm32-unknown-unknown', null) }}
3640

3741
- uses: Swatinem/rust-cache@v2
3842
with:
39-
shared-key: clippy
43+
save-if: ${{ github.ref == 'refs/heads/master' }}
4044

41-
- name: Lint feature soundness
42-
if: matrix.profile == 'dev'
43-
run: bash ./ci/feature-soundness.sh
45+
- uses: taiki-e/install-action@cargo-hack
4446

4547
- name: Lint feature soundness
46-
if: matrix.profile == 'release'
47-
run: bash ./ci/feature-soundness-release.sh
48+
env:
49+
RELEASE_FLAG: ${{ case(matrix.profile == 'release', '--release', null) }}
50+
TARGET_FLAGS: ${{ case(matrix.target == 'wasm32', '--target wasm32-unknown-unknown', null) }}
51+
run: >-
52+
cargo hack clippy
53+
-p yew -p yew-agent -p yew-router -p yew-link
54+
--feature-powerset --no-dev-deps
55+
--keep-going
56+
$RELEASE_FLAG
57+
$TARGET_FLAGS
58+
-- -D warnings
4859
4960
clippy:
5061
name: Clippy Workspace
@@ -66,7 +77,7 @@ jobs:
6677

6778
- uses: Swatinem/rust-cache@v2
6879
with:
69-
shared-key: clippy
80+
save-if: ${{ github.ref == 'refs/heads/master' }}
7081

7182
- name: Run clippy
7283
run: |

0 commit comments

Comments
 (0)