From 2fff20b18d22a8a12ef6bf384efb5c1cde7e657e Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Wed, 1 May 2024 04:08:44 +0900 Subject: [PATCH] Update GitHub Actions Signed-off-by: Sora Morimoto --- .github/dependabot.yml | 6 ++++++ .github/workflows/build.yml | 19 +++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ca79ca5 --- /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 4634e0a..5c15957 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,24 +13,19 @@ jobs: - macos-latest - ubuntu-latest - windows-latest - ocaml-compiler: - - 4.10.x - - 4.11.x - - 4.12.x runs-on: ${{ matrix.os }} steps: - - name: Checkout 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 }} + ocaml-compiler: "4.12" + allow-prerelease-opam: true - - name: Install dependencies - run: opam install --deps-only . + - run: opam install --deps-only . - - name: Build components - run: opam exec -- make all + - run: opam exec -- make all