mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
ci: run clippy without --features=embed-data too
That configuration is already tested, but not clippy-checked yet. This sometimes causes things like unused imports linger on master. Let's at least enable clippy for stable Rust. Also do the same build_tools/check.sh; since that script already runs "cargo test --no-default-features", this shouldn't add much work, though I didn't check that.
This commit is contained in:
@@ -41,7 +41,9 @@ template_file=$(mktemp)
|
||||
FISH_GETTEXT_EXTRACTION_FILE=$template_file cargo build --workspace --all-targets --features=gettext-extract
|
||||
if $lint; then
|
||||
PATH="$build_dir:$PATH" "$repo_root/build_tools/style.fish" --all --check
|
||||
cargo clippy --workspace --all-targets
|
||||
for features in "" --no-default-features; do
|
||||
cargo clippy --workspace --all-targets $features
|
||||
done
|
||||
fi
|
||||
cargo test --no-default-features --workspace --all-targets
|
||||
cargo test --doc --workspace
|
||||
|
||||
Reference in New Issue
Block a user