Skip to content

Commit

Permalink
split fmt into fmt and fmt-check
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jul 13, 2024
1 parent 78e55ef commit 3bfe82e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- run: make fmt
- run: make fmt-check
- run: make lint
- run: make test
env:
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ lint:
@deno lint
@deno check $(SRC_FILES)

@PHONY: fmt-check
fmt-check:
@deno fmt --check

@PHONY: fmt
fmt:
@deno fmt --check
@deno fmt

@PHONY: test
test:
Expand Down

0 comments on commit 3bfe82e

Please sign in to comment.