Skip to content

Commit 5c7ff95

Browse files
committed
Updated GitHub workflow
1 parent cfd7f0c commit 5c7ff95

File tree

1 file changed

+35
-7
lines changed

1 file changed

+35
-7
lines changed

.github/workflows/main.yml

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,54 @@ 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
2930

30-
- name: Set PKG_CONFIG_PATH for libpq (keg-only)
31-
run: |
32-
echo "PKG_CONFIG_PATH=/opt/homebrew/opt/libpq/lib/pkgconfig" \
33-
>> $GITHUB_ENV
34-
3531
- run: opam install . --deps-only --with-test
3632

3733
- run: opam exec -- dune build
3834

3935
- run: opam exec -- dune runtest
40-
# 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)