-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve CI/CD #183
Improve CI/CD #183
Conversation
They don't seem to be used anyways
ccd8500
to
d473070
Compare
@tmattio restoring cache might cause issues with a later switch creation. Right now the ocaml action uses |
@anuragsoni That's what I noticed after merging. I'll comment out the caching part until there is a workaround. That's a shame, the CI went from taking 20min to 2min! |
opam install . --deps-only --with-doc --with-test --locked --unlock-base | ||
opam install ppx_sexp_conv base64 ppx_yojson_conv --skip-updates | ||
|
||
- name: Upgrade dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is NOT for upgrade. This step checks the consistency of the installed opam packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review @smorimoto! I made the changes in #184
if: steps.cache-opam.outputs.cache-hit != 'true' | ||
run: opam install ocamlformat | ||
|
||
- name: Upgrade dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
This PR improves the CI CD by: