Skip to content

Commit

Permalink
Add CI check for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Mar 29, 2023
1 parent 5a564df commit 14290ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,9 @@ jobs:
opam exec -- dune clean
opam exec -- dune build
git diff --exit-code
- name: Check that the changes are correctly formatted
if: matrix.os == 'ubuntu-latest'
run: |
opam install ocamlformat.0.24.1
opam exec -- dune build @fmt

0 comments on commit 14290ab

Please sign in to comment.