ocurrent / ocaml-ci

A CI for OCaml projects
https://ocaml.ci.dev
112 stars 74 forks source link

Linting without installing dependencies of a project #853

Closed moyodiallo closed 1 year ago

moyodiallo commented 1 year ago

opam-dune-lint doesn't build a project when linting, so installing the dependencies isn't necessary.

To note this is on experimentation.

moyodiallo commented 1 year ago

Works fine in prod, live-engine branch.

tmcgilchrist commented 1 year ago

The other piece for general ocaml-ci linting is to run both opam lint on all the opam files and opam-dune-lint. From my limited local testing they check different things and we should be running both.