Skip to content

Commit 084f6fe

Browse files
committed
Updated GitHub workflow
1 parent ac71105 commit 084f6fe

File tree

1 file changed

+35
-2
lines changed

1 file changed

+35
-2
lines changed

.github/workflows/main.yml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ jobs:
1515
os:
1616
- ubuntu-latest
1717
- macos-latest
18+
- windows-latest
1819

1920
runs-on: ${{ matrix.os }}
2021

2122
steps:
2223
- name: Checkout tree
2324
uses: actions/checkout@v4
2425

25-
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
26+
- name: Set-up OCaml
2627
uses: ocaml/setup-ocaml@v3
2728
with:
2829
ocaml-compiler: 5
@@ -32,4 +33,36 @@ jobs:
3233
- run: opam exec -- dune build
3334

3435
- run: opam exec -- dune runtest
35-
# vim: filetype=yaml
36+
37+
lint-doc:
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: Checkout tree
41+
uses: actions/checkout@v4
42+
- name: Set-up OCaml
43+
uses: ocaml/setup-ocaml@v3
44+
with:
45+
ocaml-compiler: 5
46+
- uses: ocaml/setup-ocaml/lint-doc@v3
47+
48+
lint-fmt:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- name: Checkout tree
52+
uses: actions/checkout@v4
53+
- name: Set-up OCaml
54+
uses: ocaml/setup-ocaml@v3
55+
with:
56+
ocaml-compiler: 5
57+
- uses: ocaml/setup-ocaml/lint-fmt@v3
58+
59+
lint-opam:
60+
runs-on: ubuntu-latest
61+
steps:
62+
- name: Checkout tree
63+
uses: actions/checkout@v4
64+
- name: Set-up OCaml
65+
uses: ocaml/setup-ocaml@v3
66+
with:
67+
ocaml-compiler: 5
68+
- uses: ocaml/setup-ocaml/lint-opam@v3

0 commit comments

Comments
 (0)