Skip to content

Commit 20ebb14

Browse files
authored
Merge pull request #63 from jerrysxie/fix-workflow-failure
fix: separate clippy and fmt commands
2 parents a3083a3 + bce381c commit 20ebb14

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/cloudflare-pages-deploy.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
run: rustup target add wasm32-unknown-unknown
3737

3838
- name: lint
39-
run: cargo clippy & cargo fmt --check
39+
run: |
40+
cargo clippy -- -D warnings
41+
cargo fmt --check
4042
4143
# If using tailwind...
4244
# - name: Download and install tailwindcss binary

src/pages/announcements.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ pub fn AnnouncementsPage() -> impl IntoView {
7777
// Set selected from query param if present
7878
{
7979
let location = location.clone();
80-
let set_selected = set_selected.clone();
8180
let announcements_clone = announcements.clone();
8281
Effect::new(move |_| {
8382
let search = location.search.get();

src/pages/home.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use crate::components::documentation_training::{DocLink, DocumentationTraining};
2-
use crate::components::partners_grid::PartnersGrid;
32
use crate::components::footer::Footer;
43
use crate::components::header::Header;
54
use crate::components::main::Main;
5+
use crate::components::partners_grid::PartnersGrid;
66

77
use leptos::prelude::*;
88

0 commit comments

Comments
 (0)