Skip to content

Commit

Permalink
[setup] get ocamlformat from opam
Browse files Browse the repository at this point in the history
Summary: no need for opam/ocamlformat anymore

Reviewed By: ngorogiannis

Differential Revision: D55136219

fbshipit-source-id: fd4f8d50ced11f227821981c008b09f9421df3d6
  • Loading branch information
jvillard authored and facebook-github-bot committed Mar 21, 2024
1 parent da47578 commit 430dc69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,8 @@ jobs:

- name: Install ocamlformat
run: |
opam pin $(cat opam/ocamlformat) --no-action
opam install --deps-only --locked opam/ocamlformat.opam.locked
opam install ocamlformat
opam install ocamlformat.$(grep -e '^version:' "$INFER_ROOT"/opam/ocamlformat.opam.locked | cut -d ' ' -f 2 | tr -d \")
opam exec -- ocamlformat --version
- name: Test infer
Expand Down
1 change: 0 additions & 1 deletion opam/ocamlformat

This file was deleted.

0 comments on commit 430dc69

Please sign in to comment.