From d92c8b7dd5a3e254241e065e70592666b6b1d8c0 Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Thu, 5 Sep 2024 21:05:52 +0300 Subject: [PATCH] Use setup-ocaml@v3 and drop Windows sunset repo --- .github/workflows/ci.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f0a7d78..0d18b596 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,19 +24,10 @@ jobs: with: submodules: recursive - - uses: ocaml/setup-ocaml@v2 - if: runner.os != 'Windows' + - uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: ${{ matrix.ocaml }} - - uses: ocaml/setup-ocaml@v2 - if: runner.os == 'Windows' - with: - ocaml-compiler: ${{ matrix.ocaml }} - opam-repositories: | - opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset - default: https://github.com/ocaml/opam-repository.git - - run: opam install -y --deps-only . - run: opam exec -- dune build -p luv @@ -49,7 +40,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - uses: ocaml/setup-ocaml@v2 + - uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: 4.14.x - run: opam install -y --deps-only .