# ci: use zig build check-fmt instead of zig fmt \-\-check · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/4d1432299fe5dccef1e8254800e365c4d6c0d435)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 4d1432299fe5dccef1e8254800e365c4d6c0d435

Requested commit: 4d1432299fe5dccef1e8254800e365c4d6c0d435

Commit: 4d1432299fe5dccef1e8254800e365c4d6c0d435

Tree: e9206b8f21e4c3bd5d6c579ad989864a18ce39d9

Author: Wooster

Committer: Veikka Tuominen

## Message

```
ci: use zig build check-fmt instead of zig fmt --check

We already have a zig build step for this: test-fmt.

* Rename the test-fmt step to check-fmt.
  test-fmt sounds like it runs tests for `zig fmt` itself (lib/std/zig/render.zig).
* Use it instead of `zig fmt --check` in the CI scripts.
* Also use it in CI scripts that didn't have this check before.

```

## Parents

- [f33bb0228b40a1171fafad40415bd5744e617e21](https://git.cafe/gitcafe/zig/commit/f33bb0228b40a1171fafad40415bd5744e617e21?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/4d1432299fe5dccef1e8254800e365c4d6c0d435?format=markdown)
