Skip to content

Commit

Permalink
OCaml 5.2.0 + setup-ocaml 3 (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt authored Jul 10, 2024
1 parent b105c20 commit 1a61b15
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/checkout@v4

- name: Build
uses: docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.19-ocaml-5.1.1-01
uses: docker://ghcr.io/rescript-lang/rescript-ci-build:alpine-3.20-ocaml-5.2.0-01
with:
args: opam exec -- dune build --profile static

Expand Down Expand Up @@ -96,27 +96,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.opam
key: ${{matrix.os}}-rescript-vscode-v4
key: ${{matrix.os}}-rescript-vscode-v5

- name: Use OCaml
uses: ocaml/setup-ocaml@v2
if: matrix.os != 'windows-latest'
with:
ocaml-compiler: 5.1.1
opam-pin: false
opam-depext: false

- name: Use OCaml (Windows)
uses: ocaml/setup-ocaml@v2
if: matrix.os == 'windows-latest'
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-mingw
ocaml-compiler: 5.2.0
opam-pin: false
opam-depext: false
opam-repositories: |
windows-5.0: https://github.com/dra27/opam-repository.git#windows-5.0
sunset: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
default: https://github.com/ocaml/opam-repository.git

- name: Use Node.js
uses: actions/setup-node@v4
Expand Down

0 comments on commit 1a61b15

Please sign in to comment.