Skip to content

Commit

Permalink
Add check-all command
Browse files Browse the repository at this point in the history
Add convenient helper make function and use it in CI

Signed-off-by: James Sturtevant <[email protected]>
  • Loading branch information
jsturtevant committed Mar 21, 2024
1 parent b673542 commit e1ba6f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/bvt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
uses: actions/checkout@v3
- name: Check
run: |
make check
make -C compiler check
make -C ttrpc-codegen check
make check-all
make:
name: Build
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ endif
check:
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings

.PHONY: check-all
check-all:
$(MAKE) check
$(MAKE) -C compiler check
$(MAKE) -C ttrpc-codegen check

0 comments on commit e1ba6f8

Please sign in to comment.