Skip to content

Commit 0a65cfb

Browse files
authored
Use setup ocaml V3 (#1328)
1 parent b73d822 commit 0a65cfb

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,13 @@ jobs:
1818
matrix:
1919
os:
2020
- ubuntu-latest
21+
- macos-latest
22+
- windows-latest
2123
ocaml-compiler:
2224
- "4.14"
23-
# - "5.0"
24-
- "5.1"
2525
include:
26-
- os: macos-latest
27-
ocaml-compiler: "4.14"
28-
- os: windows-latest
29-
ocaml-compiler: "4.14"
30-
opam-repositories: |
31-
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
32-
default: https://github.com/ocaml/opam-repository.git
26+
- os: ubuntu-latest
27+
ocaml-compiler: 5.1.x
3328

3429
runs-on: ${{ matrix.os }}
3530

@@ -54,11 +49,9 @@ jobs:
5449
working-directory: ocaml-lsp-server/test/e2e
5550

5651
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
57-
uses: ocaml/setup-ocaml@v2
52+
uses: ocaml/setup-ocaml@v3
5853
with:
5954
ocaml-compiler: ${{ matrix.ocaml-compiler }}
60-
allow-prerelease-opam: true
61-
opam-repositories: ${{ matrix.opam-repositories }}
6255

6356
- name: Build and install dependencies
6457
run: opam install .

0 commit comments

Comments
 (0)