From 45d4892484f5f02b5ae27a03594547ad41579207 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Mon, 29 Apr 2024 23:28:15 +0900 Subject: [PATCH] Update GitHub Actions workflow Signed-off-by: Sora Morimoto --- .github/workflows/workflow.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 664814be1..5550e045b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -16,30 +16,28 @@ jobs: - macos-latest - ubuntu-latest ocaml-compiler: - - 4.08.x - - 4.09.x - - 4.10.x - - 4.11.x - - 4.12.x - - 4.13.x - - 4.14.x + - "4.13" + - "4.14" + - "5.0" + - "5.1" runs-on: ${{ matrix.os }} steps: - - name: Checkout code + - name: Checkout tree uses: actions/checkout@v4 - - name: Use OCaml ${{ matrix.ocaml-compiler }} + - name: Set-up OCaml ${{ matrix.ocaml-compiler }} uses: ocaml/setup-ocaml@v2 with: ocaml-compiler: ${{ matrix.ocaml-compiler }} + allow-prerelease-opam: true opam-depext: false opam-pin: false - - name: Install OpenSSL on MacOS - run: brew install openssl@3 - if: ${{ matrix.os == 'macos-latest' }} + - name: Re-install OpenSSL on macOS + if: runner.os == 'macOS' + run: brew update && brew reinstall openssl@3 - run: opam install . --deps-only