From 0272809c82f4d8fae3165216640f6c4fc371657d Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 25 Nov 2021 16:53:58 +0100 Subject: [PATCH] ci: fix flags --- .github/workflows/rust.yaml | 4 ++-- Makefile | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index ddeac58..a8b4a92 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -17,8 +17,8 @@ jobs: steps: - uses: actions/checkout@v2 - name: Format - run: cargo fmt -- --check + run: cargo fmt --all -- --check - name: Lint - run: cargo clippy --all --all-targets --all-features -- -D warnings + run: cargo clippy --workspace --all-targets --all-features -- -D warnings - name: Run tests run: make check-all diff --git a/Makefile b/Makefile index 1b23420..007a759 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,9 @@ watch: cargo watch -x clippy check: - cargo test --all --release + cargo test --workspace --release -# run these in release mode because the reason they're ignored is usually that -# they take a long time to run -check-all: check - cargo test --all --release -- --ignored +check-all: + cargo test --workspace --release -- --include-ignored .PHONY: watch check check-all