yew/ci/feature-soundness-release.sh
WorldSEnder 3871418174
Modernize github workflows (#3711)
* modernize github workflows

this mainly fixes some inconsistencies in style, outdated or wrong comments and action version
- replace Legit-Labs/action-download-artifact with actions/download-artifact
- fix Swatinem/rust-cache arguments
- fix benchmark transformations
- expand feature soundness lints
- wording and capitalization in comments

* fix no_run on crate level doc

* fix some more small issues
2024-08-22 20:04:04 +05:00

21 lines
1.8 KiB
Bash
Executable File

#!/usr/bin/env bash
set -xe
# You can extract the feature list with the following command:
# cargo hack -p yew -p yew-agent -p yew-router --feature-powerset --print-command-list clippy --release -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features default,hydration,ssr -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features csr -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features default -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features csr,default -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features hydration -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features default,hydration -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features ssr -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features csr,ssr -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features default,ssr -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features csr,default,ssr -- -D warnings
cargo clippy --release --manifest-path packages/yew/Cargo.toml --no-default-features --features hydration,ssr -- -D warnings
cargo clippy --release --manifest-path packages/yew-agent/Cargo.toml -- -D warnings
cargo clippy --release --manifest-path packages/yew-router/Cargo.toml -- -D warnings