hazelgrove / hazel

Hazel, a live functional programming environment with typed holes
http://hazel.org/
MIT License
807 stars 52 forks source link

Use setup-ocaml github action #1341

Closed 7h3kk1d closed 3 months ago

7h3kk1d commented 4 months ago

Switches to https://github.com/ocaml/setup-ocaml for the ocaml installation step. Adds a hazel.opam.locked file to keep track of exact dependency versions that we depend on. Also adds a dune-project file to manage project dependencies and it generates the hazel.opam file on dune build. So we can keep track of intentional vs unintentional dependency locking which should be useful for upgrading. Also intentionally caching the opam switch separately from the ocaml compiler itself which seems more deterministic as far as caches go.

The last cached build took about 3m https://github.com/hazelgrove/hazel/actions/runs/10115441982/job/27976209701

cyrus- commented 3 months ago

Merge conflict