From fd54f2f27462e0b1909046d2f2f204698f723775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Thu, 17 Oct 2024 13:22:31 +0200 Subject: [PATCH] GHA: Also format .mli files --- .github/workflows/format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index bdf2aae..831869b 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -30,7 +30,7 @@ jobs: - name: Format code run: | - find . -name \*\.ml -maxdepth 1 | xargs opam exec -- ocamlformat --inplace + find . -name \*\.ml -o -name \*\.mli -maxdepth 1 | xargs opam exec -- ocamlformat --inplace - name: Check for modified files id: git-check