diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23a2ecb..6e2b106 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/Makefile b/Makefile index e5b798f..60fba89 100644 --- a/Makefile +++ b/Makefile @@ -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: