fix(ci): address clippy issue (#2278)

* fix(ci): address clippy issue
* fix(ci): add missing nightly specifications
* fix(ci):  set all nightly references
* chore(ci): do not lint example crates
This commit is contained in:
Joseph Cruz 2024-02-09 16:30:11 -05:00 committed by GitHub
parent d4bdc36062
commit 65b7603192
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 43 additions and 41 deletions

View file

@ -29,4 +29,4 @@ jobs:
with:
directory: ${{ matrix.directory }}
cargo_make_task: "ci"
toolchain: nightly
toolchain: nightly-2024-01-29

View file

@ -24,4 +24,4 @@ jobs:
with:
directory: ${{ matrix.directory }}
cargo_make_task: "ci"
toolchain: nightly
toolchain: nightly-2024-01-29

View file

@ -40,4 +40,4 @@ jobs:
with:
directory: ${{ matrix.directory }}
cargo_make_task: "ci"
toolchain: nightly
toolchain: nightly-2024-01-29

View file

@ -3,5 +3,5 @@ alias = "check-all"
[tasks.check-all]
command = "cargo"
args = ["+nightly", "check-all-features"]
args = ["+nightly-2024-01-29", "check-all-features"]
install_crate = "cargo-all-features"

View file

@ -3,5 +3,5 @@ alias = "test-all"
[tasks.test-all]
command = "cargo"
args = ["+nightly", "test-all-features"]
args = ["+nightly-2024-01-29", "test-all-features"]
install_crate = "cargo-all-features"

View file

@ -15,13 +15,13 @@ clear = true
dependencies = ["check-debug", "check-release"]
[tasks.check-debug]
toolchain = "nightly"
toolchain = "nightly-2024-01-29"
command = "cargo"
args = ["check-all-features"]
install_crate = "cargo-all-features"
[tasks.check-release]
toolchain = "nightly"
toolchain = "nightly-2024-01-29"
command = "cargo"
args = ["check-all-features", "--release"]
install_crate = "cargo-all-features"

View file

@ -1,11 +1,11 @@
[tasks.build]
toolchain = "nightly"
toolchain = "nightly-2024-01-29"
command = "cargo"
args = ["build-all-features"]
install_crate = "cargo-all-features"
[tasks.check]
toolchain = "nightly"
toolchain = "nightly-2024-01-29"
command = "cargo"
args = ["check-all-features"]
install_crate = "cargo-all-features"

View file

@ -1,5 +1,5 @@
[tasks.pre-clippy]
env = { CARGO_MAKE_CLIPPY_ARGS = "--all-targets --all-features -- -D warnings" }
env = { CARGO_MAKE_CLIPPY_ARGS = "--no-deps --all-targets --all-features -- -D warnings" }
[tasks.check-style]
dependencies = ["check-format-flow", "clippy-flow"]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -5,13 +5,13 @@ extend = [
]
[tasks.build]
toolchain = "nightly"
toolchain = "nightly-2024-01-29"
command = "cargo"
args = ["build-all-features", "--target", "wasm32-unknown-unknown"]
install_crate = "cargo-all-features"
[tasks.check]
toolchain = "nightly"
toolchain = "nightly-2024-01-29"
command = "cargo"
args = ["check-all-features", "--target", "wasm32-unknown-unknown"]
install_crate = "cargo-all-features"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "nightly"
channel = "nightly-2024-01-29"

View file

@ -206,3 +206,5 @@ fn ssr_option() {
runtime.dispose();
}
// TODO: remove simulated change

View file

@ -11,13 +11,13 @@ dependencies = [
[tasks.test-leptos_macro-example]
description = "Tests the leptos_macro/example to check if macro handles doc comments correctly"
command = "cargo"
args = ["+nightly", "test", "--doc"]
args = ["+nightly-2024-01-29", "test", "--doc"]
cwd = "example"
install_crate = false
[tasks.doc-leptos_macro-example]
description = "Docs the leptos_macro/example to check if macro handles doc comments correctly"
command = "cargo"
args = ["+nightly", "doc"]
args = ["+nightly-2024-01-29", "doc"]
cwd = "example"
install_crate = false