Skip to content

Commit 01824f7

Browse files
committed
Update examples.md
Signed-off-by: Sora Morimoto <[email protected]>
1 parent bc22d0e commit 01824f7

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

examples.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -138,42 +138,3 @@ steps:
138138
opam-disable-sandboxing: true
139139
```
140140
<!-- prettier-ignore-end -->
141-
142-
## Using [opam-dune-lint](https://github.com/ocurrent/opam-dune-lint) to lint the opam files
143-
144-
<!-- prettier-ignore-start -->
145-
```yml
146-
steps:
147-
- name: Checkout code
148-
uses: actions/checkout@v2
149-
150-
- name: Use OCaml ${{ matrix.ocaml-compiler }}
151-
uses: ocaml/setup-ocaml@v2
152-
with:
153-
ocaml-compiler: ${{ matrix.ocaml-compiler }}
154-
155-
- run: opam depext opam-dune-lint --install
156-
157-
- run: opam exec -- opam-dune-lint
158-
```
159-
<!-- prettier-ignore-end -->
160-
161-
## Using [OCamlFormat](https://github.com/ocaml-ppx/ocamlformat) and dune [@fmt](https://dune.readthedocs.io/en/stable/formatting.html) alias to check if your files are formatted
162-
163-
<!-- prettier-ignore-start -->
164-
```yml
165-
steps:
166-
- name: Checkout code
167-
uses: actions/checkout@v2
168-
169-
- name: Use OCaml ${{ matrix.ocaml-compiler }}
170-
uses: ocaml/setup-ocaml@v2
171-
with:
172-
ocaml-compiler: ${{ matrix.ocaml-compiler }}
173-
dune-cache: true
174-
175-
- run: opam depext ocamlformat=$(grep 'version' .ocamlformat | awk -F '=' '{ print $2 }') --install
176-
177-
- run: opam exec -- dune build @fmt
178-
```
179-
<!-- prettier-ignore-end -->

0 commit comments

Comments
 (0)