Skip to content

Commit

Permalink
add udeps check
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Nov 24, 2022
1 parent 21ca65b commit 26c904c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
.
./enclave
- uses: actions-rs/cargo@v1
with:
command: install
args: cargo-udeps --locked
- run: make test
- run: make lint

Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ yrly:

.PHONY: lint
lint:
@cargo check $(CARGO_TARGET)
@cargo check --locked $(CARGO_TARGET)
@cargo udeps --locked --lib --quiet $(CARGO_TARGET)

.PHONY: test
test:
Expand Down

0 comments on commit 26c904c

Please sign in to comment.