From dde1b5218975bb94b279d03a2693134e38fef733 Mon Sep 17 00:00:00 2001 From: Paul ALNET Date: Mon, 24 Nov 2025 15:51:53 +0100 Subject: [PATCH 1/3] ci: update actions/cache to v4 v2 is deprecated and failing build CIs. --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index c77357b..487854b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -28,7 +28,7 @@ jobs: - name: Try to restore opam cache if: runner.os != 'Windows' id: opam-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: "~/.opam" key: ${{ matrix.os }}-${{ matrix.ocaml-version }} From 49696e4efe5e777addde774336efc2da4340a023 Mon Sep 17 00:00:00 2001 From: Paul ALNET Date: Mon, 24 Nov 2025 15:59:42 +0100 Subject: [PATCH 2/3] ci: update ocaml to 4.14.2 --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 487854b..760e701 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -14,7 +14,7 @@ jobs: - ubuntu-latest # - windows-latest ocaml-version: - - 4.14.0 + - 4.14.2 # - 4.10.1 # - 4.09.1 # - 4.08.1 From 136dcdb7b6e5f3251cb14e4324a38b202d3bfebe Mon Sep 17 00:00:00 2001 From: Paul ALNET Date: Mon, 24 Nov 2025 16:03:32 +0100 Subject: [PATCH 3/3] ci: update avsm/setup-ocaml to v3 was also breaking --- .github/workflows/workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 760e701..7b91b7b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -34,9 +34,9 @@ jobs: key: ${{ matrix.os }}-${{ matrix.ocaml-version }} - name: Use OCaml ${{ matrix.ocaml-version }} - uses: avsm/setup-ocaml@v1 + uses: avsm/setup-ocaml@v3 with: - ocaml-version: ${{ matrix.ocaml-version }} + ocaml-compiler: ${{ matrix.ocaml-version }} - run: opam install dune - name: Build project