File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 profile :
2626 - dev
2727 - release
28+ target :
29+ - host
30+ - wasm32
2831 steps :
2932 - uses : actions/checkout@v6
3033
3336 with :
3437 toolchain : stable
3538 components : clippy
36- targets : wasm32-unknown-unknown
39+ targets : ${{ case(matrix.target == ' wasm32', 'wasm32 -unknown-unknown', null) }}
3740
3841 - uses : Swatinem/rust-cache@v2
3942 with :
@@ -44,14 +47,14 @@ jobs:
4447 - name : Lint feature soundness
4548 env :
4649 RELEASE_FLAG : ${{ case(matrix.profile == 'release', '--release', null) }}
50+ TARGET_FLAGS : ${{ case(matrix.target == 'wasm32', '--target wasm32-unknown-unknown', null) }}
4751 run : >-
4852 cargo hack clippy
4953 -p yew -p yew-agent -p yew-router
5054 --feature-powerset --no-dev-deps
5155 --keep-going
5256 $RELEASE_FLAG
53- --target `rustc --version --verbose | sed -n 's/host: //p'`
54- --target wasm32-unknown-unknown
57+ $TARGET_FLAGS
5558 -- -D warnings
5659
5760 clippy :
You can’t perform that action at this time.
0 commit comments