Skip to content

Commit 2d58cee

Browse files
committed
Update workflow files, and bump minium tested version to 4.11
1 parent 067e9e0 commit 2d58cee

1 file changed

Lines changed: 19 additions & 6 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
name: Main workflow
22

33
on:
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

815
jobs:
@@ -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

0 commit comments

Comments
 (0)