Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Moved format checks to dedicated workflow. Fixed formatting.
  • Loading branch information
Marcin-Radecki committed Sep 18, 2023
commit c00219b8a39ec5b0257f1e8d80d229ace8ff3064
2 changes: 1 addition & 1 deletion .github/workflows/_check-code-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
components: rustfmt

- name: Run Format Checks
run: cargo +nightly-2023-01-10 fmt --all
run: cargo +nightly-2023-01-10 fmt --all --check
1 change: 0 additions & 1 deletion pallets/aleph/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![cfg_attr(not(feature = "std"), no_std)]

#![doc = include_str!("../README.md")]

#[cfg(test)]
Expand Down
1 change: 0 additions & 1 deletion pallets/committee-management/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![cfg_attr(not(feature = "std"), no_std)]

#![doc = include_str!("../README.md")]

extern crate core;
Expand Down
1 change: 0 additions & 1 deletion pallets/elections/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![cfg_attr(not(feature = "std"), no_std)]

#![doc = include_str!("../README.md")]

mod impls;
Expand Down
1 change: 0 additions & 1 deletion scripts/run_checks_on_excluded_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ for p in ${packages[@]}; do
cargo clippy -- --no-deps -D warnings
fi

cargo +nightly-2023-01-10 fmt --all --check
popd

done