Skip to content

Commit

Permalink
Build with OCaml 5.1.1 (#977)
Browse files Browse the repository at this point in the history
* Fix compiler warning

* Build with OCaml 5.1.1
  • Loading branch information
cknitt authored May 1, 2024
1 parent 9e7ecc1 commit 3b5824b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,23 @@ jobs:

- name: Use OCaml
uses: ocaml/setup-ocaml@v2
if: matrix.os != 'windows-latest'
with:
ocaml-compiler: 4.14.x
ocaml-compiler: 5.1.1
opam-pin: false
opam-depext: false

- name: Use OCaml (Windows)
uses: ocaml/setup-ocaml@v2
if: matrix.os == 'windows-latest'
with:
ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-mingw
opam-pin: false
opam-depext: false
opam-repositories: |
windows-5.0: https://github.com/dra27/opam-repository.git#windows-5.0
sunset: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
default: https://github.com/ocaml/opam-repository.git
- name: Use Node.js
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion analysis/vendor/res_syntax/jsx_v4.ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open Ast_helper
open! Ast_helper
open Ast_mapper
open Asttypes
open Parsetree
Expand Down

0 comments on commit 3b5824b

Please sign in to comment.