Skip to content

Commit

Permalink
Use setup ocaml V3 (#1328)
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos authored Jul 5, 2024
1 parent b73d822 commit 0a65cfb
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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 .
Expand Down

0 comments on commit 0a65cfb

Please sign in to comment.