Skip to content

Commit

Permalink
github actions: change lints to use fmt-ci target
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Gurney <bgurney@redhat.com>
  • Loading branch information
bgurney-rh committed Sep 12, 2024
1 parent b901ea9 commit e7afe11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@ jobs:
run: sudo apt-get install llvm-dev libclang-dev clang

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

run: make -f Makefile fmt-ci
- name: Run cargo clippy
run: make -f Makefile clippy

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fmt:
cargo fmt

fmt-ci:
cargo fmt -- --check
cargo fmt --all -- --check

audit:
cargo audit -D warnings
Expand Down

0 comments on commit e7afe11

Please sign in to comment.