From 7c720bd8bc002f95d0d89060f4c6c729855ed94e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 15 Nov 2024 14:37:47 +0300 Subject: [PATCH] ci: add clippy job --- .github/workflows/test.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e960ec1..1b3d61f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,9 +9,16 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: cargo t --all --all-features + - run: cargo t --workspace --all-features - formatting: + clippy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + - run: cargo c --workspace --all-features + + rustfmt: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4