From 40d371e6b926db3d185eba39984cae5b9b238c88 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Wed, 1 May 2024 04:02:11 +0900 Subject: [PATCH] Update GitHub Actions Signed-off-by: Sora Morimoto --- .github/dependabot.yml | 6 ++++++ .github/workflows/build.yml | 22 +++++++++++----------- wikidoc.opam | 2 +- 3 files changed, 18 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..26cc778 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,25 +12,25 @@ jobs: os: - macos-latest - ubuntu-latest - - windows-latest ocaml-compiler: - - 4.10.x - - 4.11.x - - 4.12.x + - "4.14" + - "5.1" + include: + - os: windows-latest + ocaml-compiler: "4.14" 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 }} + 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 diff --git a/wikidoc.opam b/wikidoc.opam index c00d4f8..967dd33 100644 --- a/wikidoc.opam +++ b/wikidoc.opam @@ -18,7 +18,7 @@ remove: [ [ "rm" "-f" "%{bin}%/latex_of_wiki" ] ] depends: [ - "ocaml" {>= "4.10.0" & < "4.13.0"} + "ocaml" {>= "4.10.0"} "base-threads" "base-unix" "ocamlfind"