chore: use 5.2 in CI (#28)

chore: use 5.2 in CI
This commit is contained in:
Simon Cruanes 2024-05-20 16:26:33 -04:00 committed by GitHub
parent 0750e6af41
commit a4db1e67be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 23 additions and 25 deletions

View file

@ -18,7 +18,7 @@ jobs:
ocaml-compiler:
- '4.08'
- '4.14'
- '5.1'
- '5.2'
runs-on: ${{ matrix.os }}
steps:
@ -31,14 +31,14 @@ jobs:
allow-prerelease-opam: true
- run: opam install -t moonpool moonpool-lwt --deps-only
if: matrix.ocaml-compiler == '5.1'
if: matrix.ocaml-compiler == '5.2'
- run: opam install -t moonpool --deps-only
if: matrix.ocaml-compiler != '5.1'
if: matrix.ocaml-compiler != '5.2'
- run: opam exec -- dune build @install
# install some depopts
- run: opam install thread-local-storage trace domain-local-await
if: matrix.ocaml-compiler == '5.1'
if: matrix.ocaml-compiler == '5.2'
- run: opam exec -- dune build --profile=release --force @install @runtest
@ -52,7 +52,7 @@ jobs:
- macos-latest
#- windows-latest
ocaml-compiler:
- '5.1'
- '5.2'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
@ -74,7 +74,7 @@ jobs:
strategy:
matrix:
ocaml-compiler:
- '5.1'
- '5.2'
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@main
@ -85,6 +85,6 @@ jobs:
dune-cache: true
allow-prerelease-opam: true
- run: opam install ocamlformat.0.24.1
- run: opam install ocamlformat.0.26.2
- run: opam exec -- make format-check

View file

@ -1,4 +1,4 @@
version = 0.24.1
version = 0.26.2
profile=conventional
margin=80
if-then-else=k-r

View file

@ -1,7 +1,6 @@
open Common_
class type t =
object
class type t = object
method input : bytes -> int -> int -> int
(** Read into the slice. Returns [0] only if the
stream is closed. *)

View file

@ -1,7 +1,6 @@
open Common_
class type t =
object
class type t = object
method output_char : char -> unit
method output : bytes -> int -> int -> unit
method flush : unit -> unit