From 3a9eaaf44d75ef3f92e91687b591884e9e20373b Mon Sep 17 00:00:00 2001 From: Jun Kimura Date: Thu, 24 Nov 2022 10:28:58 +0900 Subject: [PATCH] makefile: add lint-tools installer Signed-off-by: Jun Kimura --- .github/workflows/test.yml | 4 +--- Makefile | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9507c444..552f3df2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,9 +19,7 @@ jobs: . ./enclave - uses: actions-rs/cargo@v1 - with: - command: install - args: cargo-udeps --locked + - run: make lint-tools - run: make test - run: make lint diff --git a/Makefile b/Makefile index 08c948a3..8b533fd5 100644 --- a/Makefile +++ b/Makefile @@ -188,6 +188,10 @@ proto: yrly: go build -o ./bin/yrly ./go/relay/bin +.PHONY: lint-tools +lint-tools: + cargo install cargo-udeps --locked + .PHONY: lint lint: @cargo check --locked --tests $(CARGO_TARGET)