From 4432a72f381f44b066fc4af3c85858eeb4c76049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulysse=20G=C3=A9rard?= Date: Fri, 5 Jul 2024 17:02:10 +0200 Subject: [PATCH] Use setup ocaml V3 --- .github/workflows/build-and-test.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index d6d8e2280..92f76366c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -18,18 +18,13 @@ jobs: matrix: os: - ubuntu-latest + - macos-latest + - windows-latest ocaml-compiler: - "4.14" - # - "5.0" - - "5.1" include: - - os: macos-latest - ocaml-compiler: "4.14" - - os: windows-latest - ocaml-compiler: "4.14" - opam-repositories: | - opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset - default: https://github.com/ocaml/opam-repository.git + - os: ubuntu-latest + ocaml-compiler: 5.1.x runs-on: ${{ matrix.os }} @@ -54,11 +49,9 @@ jobs: working-directory: ocaml-lsp-server/test/e2e - name: Set-up OCaml ${{ matrix.ocaml-compiler }} - uses: ocaml/setup-ocaml@v2 + uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: ${{ matrix.ocaml-compiler }} - allow-prerelease-opam: true - opam-repositories: ${{ matrix.opam-repositories }} - name: Build and install dependencies run: opam install .