From d061d37e050df3e1418b873e053bc4cd6fec602b Mon Sep 17 00:00:00 2001 From: Will Crichton Date: Wed, 4 Sep 2024 11:41:47 -0700 Subject: [PATCH] Test for lints in CI --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 146a1a6..a33b8cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: - name: Lint Rust package run: cargo clippy --all-features --locked -- -D warnings - name: Test JS package - run: depot test + run: depot build --lint-fail && depot test working-directory: js - name: Install mdbook-quiz run: cargo install --path crates/mdbook-quiz --debug --locked @@ -42,5 +42,5 @@ jobs: run: mdbook build working-directory: example/mdbook - name: Build example standalone - run: depot build + run: depot build --lint-fail working-directory: example/standalone \ No newline at end of file