Skip to content

Commit

Permalink
Put ocamlformat install under the if cached
Browse files Browse the repository at this point in the history
  • Loading branch information
krtab committed Jul 5, 2024
1 parent a286e0a commit 05c9d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
run: |
opam install . --deps-only --with-test --with-doc
opam install smtml z3
opam install ocamlformat
opam clean --switch-cleanup
- name: build
run: |
Expand All @@ -73,7 +74,6 @@ jobs:
# $(exit $(wc -l output.txt | cut -d " " -f1))
- name: lint-fmt
run: |
opam install ocamlformat
opam exec -- dune build @fmt || (echo "\n⚠️ please run \`dune fmt\` and try again" && exit 1)
- name: lint-fresh-opam-file
run: |
Expand Down

0 comments on commit 05c9d9c

Please sign in to comment.