File tree Expand file tree Collapse file tree 3 files changed +34
-41
lines changed
Expand file tree Collapse file tree 3 files changed +34
-41
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : github-actions
4+ directory : /
5+ schedule :
6+ interval : weekly
Original file line number Diff line number Diff line change 1- name : Main workflow
1+ name : Builds, tests & co
22
33on :
4- - pull_request
54 - push
5+ - pull_request
6+
7+ permissions : read-all
68
79jobs :
810 build :
@@ -11,33 +13,33 @@ jobs:
1113 matrix :
1214 os :
1315 - macos-latest
16+ - ubuntu-latest
17+ # - windows-latest
1418 ocaml-compiler :
15- - 5.0
16- - 4.14.1
17- - 4.13.1
18- - 4.08.1
19-
19+ - 5
20+ - 4
21+ include :
22+ - os : ubuntu-latest
23+ ocaml-compiler : " 4.08 "
2024 runs-on : ${{ matrix.os }}
21-
2225 steps :
23- - name : Checkout code
24- uses : actions/checkout@v3
25- - name : Use OCaml ${{ matrix.ocaml-compiler }}
26- uses : ocaml/setup-ocaml@v2
26+ - name : Checkout tree
27+ uses : actions/checkout@v4
28+ - name : Set-up OCaml
29+ uses : ocaml/setup-ocaml@v3
2730 with :
2831 ocaml-compiler : ${{ matrix.ocaml-compiler }}
29- - name : Install dependencies
30- run : |
31- opam install . --deps-only --with-test
32+ - run : opam install . --deps-only --with-test
33+ - run : opam exec -- dune build
34+ - run : opam exec -- dune runtest
3235
33- - name : Build
34- run : |
35- opam exec -- dune build
36-
37- - name : Tests
38- run : |
39- opam exec -- dune build @runtest
40-
41- - name : Opam Lint
42- run : |
43- opam lint uri.opam uri-re.opam uri-sexp.opam uri-bench.opam
36+ lint-opam :
37+ runs-on : ubuntu-latest
38+ steps :
39+ - name : Checkout tree
40+ uses : actions/checkout@v4
41+ - name : Set-up OCaml
42+ uses : ocaml/setup-ocaml@v3
43+ with :
44+ ocaml-compiler : 5
45+ - uses : ocaml/setup-ocaml/lint-opam@v3
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments