Skip to content

Commit

Permalink
Install ocamlformat in GHA for fmt command.
Browse files Browse the repository at this point in the history
  • Loading branch information
KFoxder committed Apr 30, 2024
1 parent 1cbc2d4 commit 7e613e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:

- run: opam install . --deps-only --with-test

# Needed for dune fmt
- run: opam install ocamlformat=0.26.1

- run: opam exec -- dune fmt

- run: opam exec -- dune build
Expand Down
2 changes: 2 additions & 0 deletions .ocamlformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
profile = default
version = 0.26.1

0 comments on commit 7e613e1

Please sign in to comment.