Skip to content

Commit 2ff087a

Browse files
committed
Update workflow
Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
1 parent 49484cd commit 2ff087a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,24 @@ jobs:
1010
matrix:
1111
# no special functionality to test in macos-latest or windows-latest
1212
operating-system: [ubuntu-latest]
13-
ocaml-version: [ '4.11.1', '4.10.1', '4.09.1', '4.08.1', '4.07.1', '4.06.1', '4.05.0', '4.04.2', '4.03.0', '4.02.3' ]
13+
ocaml-compiler:
14+
- 4.12.x
15+
- 4.11.x
16+
- 4.10.x
17+
- 4.09.x
18+
- 4.08.x
19+
- 4.07.x
20+
- 4.06.x
21+
- 4.05.x
22+
- 4.04.x
1423
steps:
1524
- uses: actions/checkout@master
16-
- uses: avsm/setup-ocaml@v1.0
25+
- uses: ocaml/setup-ocaml@v2
1726
with:
18-
ocaml-version: ${{ matrix.ocaml-version }}
27+
ocaml-compiler: ${{ matrix.ocaml-compiler }}
28+
dune-cache: true
29+
- run: opam install ocamlformat
30+
- run: opam exec -- dune build @fmt
1931
- run: opam pin add md2mld.dev . --no-action
2032
- run: opam install md2mld --yes --deps-only
21-
- run: opam install -t md2mld
33+
- run: opam install -t md2mld

0 commit comments

Comments
 (0)