diff --git a/.github/workflows/ci_bindings_ocaml.yml b/.github/workflows/ci_bindings_ocaml.yml index abc8d20e3f16..a5a6ded4c4fb 100644 --- a/.github/workflows/ci_bindings_ocaml.yml +++ b/.github/workflows/ci_bindings_ocaml.yml @@ -42,7 +42,7 @@ jobs: uses: actions/checkout@v4 - name: Cache OPAM dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.opam key: ${{ runner.os }}-opam-${{ hashFiles('bindings/ocaml/dune-project') }} @@ -51,7 +51,7 @@ jobs: ${{ runner.os }}-opam-doc- - name: Cache Dune build artifacts - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: bindings/ocaml/_build key: ${{ runner.os }}-dune-${{ hashFiles('bindings/ocaml/**/*.{ml,mli,opam}') }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 374345037284..2ca5beeabbf9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -220,7 +220,7 @@ jobs: cabal update - name: Setup cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-cabal with: @@ -282,7 +282,7 @@ jobs: - uses: actions/checkout@v4 - name: Cache OPAM dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.opam key: ${{ runner.os }}-opam-doc-${{ hashFiles('bindings/ocaml/dune-project') }} @@ -291,7 +291,7 @@ jobs: ${{ runner.os }}-opam- - name: Cache Dune build artifacts - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: bindings/ocaml/_build key: ${{ runner.os }}-dune-doc-${{ hashFiles('bindings/ocaml/**/*.{ml,mli,opam}') }}