Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Oct 21, 2024
1 parent 52e92b2 commit c9852ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ jobs:
rustup component add clippy
rustup component add rustfmt
cargo install --git https://github.com/DevinR528/cargo-sort --rev 55ec890 --locked
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/korandoru/hawkeye/releases/download/v5.8.1/hawkeye-installer.sh | sh
- name: Run Style Check
run: |
make clippy
make fmt
make check-cargo-toml
make check-asf-header
make clippy
unit-test:
name: unit-test
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ fmt:
check-cargo-toml:
cd $(DIR); cargo sort --workspace --check

check-asf-header:
cd $(DIR); hawkeye check

udeps:
cd $(DIR); cargo udeps --all-targets --all-features --workspace

Expand Down

0 comments on commit c9852ff

Please sign in to comment.