diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index d490940..657bd95 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -15,7 +15,7 @@ jobs: # - windows-latest ocaml-version: - 4.14 - - 5.1 + - 5.2 runs-on: ${{ matrix.os }} @@ -24,11 +24,10 @@ jobs: uses: actions/checkout@v4 - name: Use OCaml ${{ matrix.ocaml-version }} - uses: ocaml/setup-ocaml@v2 + uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: ${{ matrix.ocaml-version }} dune-cache: true - opam-depext-flags: "--with-test" allow-prerelease-opam: true - run: opam install . --deps-only --with-test @@ -38,3 +37,11 @@ jobs: - name: run test run: opam exec -- dune runtest + + - run: opam install . --deps-only --with-test --criteria='+removed,+count[version-lag,solution]' --solver=builtin-0install + + - name: build project with lower bounds + run: opam exec -- dune build + + - name: run test with lower bounds + run: opam exec -- dune runtest diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cc34b59..f20af6b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,10 +11,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Use OCaml 5.1 + - name: Use OCaml 5.2 uses: ocaml/setup-ocaml@v2 with: - ocaml-compiler: 5.1 + ocaml-compiler: 5.2 dune-cache: true opam-depext-flags: "--with-doc" allow-prerelease-opam: true @@ -28,10 +28,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Use OCaml 5.1 + - name: Use OCaml 5.2 uses: ocaml/setup-ocaml@v2 with: - ocaml-compiler: 5.1 + ocaml-compiler: 5.2 dune-cache: true opam-depext-flags: "--with-doc" allow-prerelease-opam: true @@ -45,10 +45,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Use OCaml 5.1 + - name: Use OCaml 5.2 uses: ocaml/setup-ocaml@v2 with: - ocaml-compiler: 5.1 + ocaml-compiler: 5.2 dune-cache: true opam-depext-flags: "--with-doc" allow-prerelease-opam: true diff --git a/.github/workflows/opam-dependency-submission.yml b/.github/workflows/opam-dependency-submission.yml index 72b1bec..d87b3c6 100644 --- a/.github/workflows/opam-dependency-submission.yml +++ b/.github/workflows/opam-dependency-submission.yml @@ -11,10 +11,10 @@ jobs: - name: Checkout tree uses: actions/checkout@v4 - - name: Set-up OCaml 5.1 + - name: Set-up OCaml 5.2 uses: ocaml/setup-ocaml@v2 with: - ocaml-compiler: 5.1 + ocaml-compiler: 5.2 dune-cache: true allow-prerelease-opam: true