Skip to content

Commit cdff21d

Browse files
committed
chore: update clippy workflow and fix leptosfmt version; remove unnecessary line in hero component
1 parent 8ee64a1 commit cdff21d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/clippy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
toolchain: nightly-2024-02-12
2727
target: wasm32-unknown-unknown
2828
override: true
29+
- name: Assurancing Rust fmt
30+
run: rustup component add rustfmt
2931
- uses: actions-rs/cargo@v1
3032
with:
3133
command: fmt
@@ -38,9 +40,9 @@ jobs:
3840
- uses: actions-rs/toolchain@v1
3941
with:
4042
profile: minimal
41-
toolchain: nightly
43+
toolchain: nightly-2024-02-12
44+
target: wasm32-unknown-unknown
4245
override: true
43-
components: clippy
4446
- name: Cache .cargo and target
4547
uses: actions/cache@v4
4648
with:
@@ -51,7 +53,7 @@ jobs:
5153
${{ runner.os }}-cargo-leptos-${{ hashFiles('**/Cargo.lock') }}
5254
${{ runner.os }}-cargo-leptos
5355
- name: Install LeptosFmt
54-
run: cargo install leptosfmt --version 0.1.13
56+
run: cargo install leptosfmt --version 0.1.33
5557
- name: Check LeptosFmt
5658
run: leptosfmt --check .
5759

src/components/hero.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pub fn Hero() -> impl IntoView {
1616
(false, true) => "./RustLang_uwu.png",
1717
};
1818

19-
2019
view! {
2120
<section
2221
class=(

0 commit comments

Comments
 (0)