Skip to content

Commit 3b5824b

Browse files
authored
Build with OCaml 5.1.1 (#977)
* Fix compiler warning * Build with OCaml 5.1.1
1 parent 9e7ecc1 commit 3b5824b

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/ci.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,23 @@ jobs:
5555

5656
- name: Use OCaml
5757
uses: ocaml/setup-ocaml@v2
58+
if: matrix.os != 'windows-latest'
5859
with:
59-
ocaml-compiler: 4.14.x
60+
ocaml-compiler: 5.1.1
61+
opam-pin: false
62+
opam-depext: false
63+
64+
- name: Use OCaml (Windows)
65+
uses: ocaml/setup-ocaml@v2
66+
if: matrix.os == 'windows-latest'
67+
with:
68+
ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-mingw
69+
opam-pin: false
70+
opam-depext: false
71+
opam-repositories: |
72+
windows-5.0: https://github.com/dra27/opam-repository.git#windows-5.0
73+
sunset: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
74+
default: https://github.com/ocaml/opam-repository.git
6075
6176
- name: Use Node.js
6277
uses: actions/setup-node@v4

analysis/vendor/res_syntax/jsx_v4.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
open Ast_helper
1+
open! Ast_helper
22
open Ast_mapper
33
open Asttypes
44
open Parsetree

0 commit comments

Comments
 (0)