From 7a7953b4cad7b4e403bfc360c3a730377c45657f Mon Sep 17 00:00:00 2001 From: Lucas Garron Date: Wed, 5 Jun 2024 02:11:31 -0700 Subject: [PATCH] Add `check-readme-cli-help` and test in CI. --- .github/workflows/test.yml | 1 + Makefile | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26051f6..60ef29c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,3 +13,4 @@ jobs: run: env HOMEBREW_NO_AUTO_UPDATE=1 brew install imagemagick - name: make test run: make test + - run: make check-readme-cli-help diff --git a/Makefile b/Makefile index 11c85e8..fd0518b 100644 --- a/Makefile +++ b/Makefile @@ -33,3 +33,8 @@ clean: .PHONY: readme-cli-help readme-cli-help: bun x readme-cli-help "cargo run -- --help" + + +.PHONY: check-readme-cli-help +check-readme-cli-help: + bun x readme-cli-help --check-only "cargo run -- --help"