Skip to content

Commit

Permalink
CI: Update ocaml/setup-ocaml to v3 (#2649)
Browse files Browse the repository at this point in the history
* CI: Update ocaml/setup-ocaml to v3

* Remove references to opam-repository-mingw
  • Loading branch information
Julow authored Feb 3, 2025
1 parent 4c94d48 commit d1a3dc8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

# Setup
- name: Setup OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/build-mingw64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@ jobs:
with:
ref: ${{ env.build_ref }}

- uses: ocaml/setup-ocaml@v2
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.14.x
opam-repositories: |
default: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
opam: https://github.com/ocaml/opam-repository.git

- name: Install dependencies
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/build-others.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ jobs:

# Setup
- name: Setup OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-repositories: |
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
default: https://github.com/ocaml/opam-repository.git

- name: Opam dependencies
run: opam install --deps-only -t .
Expand Down

0 comments on commit d1a3dc8

Please sign in to comment.