Skip to content

Commit

Permalink
Add check-readme-cli-help and test in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Jun 5, 2024
1 parent cb356d4 commit 84e2d25
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install ImageMagick
run: env HOMEBREW_NO_AUTO_UPDATE=1 brew install imagemagick
- name: make test
run: make test
- run: make check-readme-cli-help
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 84e2d25

Please sign in to comment.