Skip to content

Commit 9bd73e7

Browse files
committed
update CI
1 parent 55b8842 commit 9bd73e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: build
22
on:
33
push:
4-
pull_request:
54
branches:
6-
- master
5+
- main
6+
pull_request:
77
jobs:
88
run:
99
name: Build
@@ -16,12 +16,14 @@ jobs:
1616
ocaml-compiler:
1717
- 4.03.x
1818
- 4.12.x
19+
- 5.1.x
1920
runs-on: ${{ matrix.os }}
2021
steps:
2122
- uses: actions/checkout@v2
2223
- uses: ocaml/setup-ocaml@v2
2324
with:
2425
ocaml-compiler: ${{ matrix.ocaml-compiler }}
26+
allow-prerelease-opam: true
2527
- run: opam pin -n .
2628
- run: opam depext -yt mc2
2729
- run: opam install -t . --deps-only

0 commit comments

Comments
 (0)