From 46865b1de1cd0be56c1804ac242a7c89f860a200 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Wed, 8 May 2024 02:03:17 +0900 Subject: [PATCH] Update GitHub Actions Signed-off-by: Sora Morimoto --- .github/dependabot.yml | 6 ++++++ .github/workflows/build.yml | 36 +++++++++++++++++++++--------------- 2 files changed, 27 insertions(+), 15 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..ca79ca5b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2510a043..c34cce17 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,36 +13,42 @@ jobs: fail-fast: false matrix: os: - - 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.08" + - "4.09" + - "4.10" + - "4.11" + - "4.12" + - "4.13" + - "4.14" + - "5.0" + - "5.1" + include: + - os: macos-latest + ocaml-compiler: "4.14" + - os: macos-latest + ocaml-compiler: "5.1" runs-on: ${{ matrix.os }} steps: - - name: Check out code - uses: actions/checkout@v3 + - name: Checkout tree + uses: actions/checkout@v4 - - name: Use OCaml ${{ matrix.ocaml-compiler }} + - name: Set-up OCaml uses: ocaml/setup-ocaml@v2 with: ocaml-compiler: ${{ matrix.ocaml-compiler }} - dune-cache: true + allow-prerelease-opam: true opam-depext: false opam-pin: false - run: opam pin add ocsigen-start.dev . --no-action - - 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 .