From fdabe5240153c3a63ec562ec7ce9900077321cd0 Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Wed, 3 Mar 2021 13:46:19 +0800 Subject: [PATCH] github action: Add clippy check Because the existing warnings are all fixed. Signed-off-by: Tim Zhang --- .github/workflows/bvt.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/bvt.yaml b/.github/workflows/bvt.yaml index 9471fc0..b2bb741 100644 --- a/.github/workflows/bvt.yaml +++ b/.github/workflows/bvt.yaml @@ -17,6 +17,13 @@ jobs: - uses: actions/checkout@v2 - run: rustup component add rustfmt - run: make fmt + clippy: + name: Clippy Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: rustup component add clippy + - run: make clippy test: name: Run Unit Test runs-on: ubuntu-latest @@ -24,3 +31,4 @@ jobs: - uses: actions/checkout@v2 - run: make test +