From e7afe11426e1361c4123363ad54f172b1d673846 Mon Sep 17 00:00:00 2001 From: Bryan Gurney Date: Thu, 12 Sep 2024 14:28:11 -0400 Subject: [PATCH] github actions: change lints to use fmt-ci target Signed-off-by: Bryan Gurney --- .github/workflows/ci.yml | 6 +----- Makefile | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ac7349..381c470 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,11 +59,7 @@ jobs: run: sudo apt-get install llvm-dev libclang-dev clang - name: Run cargo fmt - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - + run: make -f Makefile fmt-ci - name: Run cargo clippy run: make -f Makefile clippy diff --git a/Makefile b/Makefile index c655c01..a6c6a41 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ fmt: cargo fmt fmt-ci: - cargo fmt -- --check + cargo fmt --all -- --check audit: cargo audit -D warnings