File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Main workflow
22
33on :
4- - push
5- - workflow_dispatch
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+ schedule :
8+ - cron : " 0 6 * * 1"
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
613
714
815jobs :
@@ -13,21 +20,27 @@ jobs:
1320 os :
1421 - ubuntu-latest
1522 ocaml-compiler :
16- - 4.08 .x
23+ - 4.11 .x
1724 - 4
1825 - 5
1926
2027 runs-on : ${{ matrix.os }}
2128
2229 steps :
2330 - name : Checkout code
24- uses : actions/checkout@v4
31+ uses : actions/checkout@v6
2532
2633 - name : Use OCaml ${{ matrix.ocaml-compiler }}
2734 uses : ocaml/setup-ocaml@v3
2835 with :
2936 ocaml-compiler : ${{ matrix.ocaml-compiler }}
3037
31- - run : |
38+ - name : Install dependencies
39+ run : |
3240 opam install . --deps-only --with-doc --with-test
33- opam exec -- dune runtest
41+
42+ - name : Build
43+ run : opam exec -- dune build @install
44+
45+ - name : Test
46+ run : opam exec -- dune runtest
You can’t perform that action at this time.
0 commit comments