diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index aca7f00f4a6..4d0350056f3 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -28,14 +28,13 @@ jobs: run: sudo apt-get update - name: Use ocaml - uses: ocaml/setup-ocaml@v2 + uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: ${{ steps.dotenv.outputs.ocaml_version_full }} opam-repositories: | xs-opam: ${{ steps.dotenv.outputs.repository }} dune-cache: true opam-pin: false - opam-depext: false - name: Install ocamlformat run: opam install ocamlformat diff --git a/.github/workflows/setup-xapi-environment/action.yml b/.github/workflows/setup-xapi-environment/action.yml index a7890222498..72700599cf2 100644 --- a/.github/workflows/setup-xapi-environment/action.yml +++ b/.github/workflows/setup-xapi-environment/action.yml @@ -45,12 +45,13 @@ runs: # We set DUNE_CACHE_STORAGE_MODE, it is required for dune cache to work inside opam for now, # otherwise it gets EXDEV and considers it a cache miss - name: Use ocaml - uses: ocaml/setup-ocaml@v2 + uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: ${{ steps.dotenv.outputs.ocaml_version_full }} opam-repositories: | xs-opam: ${{ steps.dotenv.outputs.repository }} dune-cache: true + opam-pin: false env: DUNE_CACHE_STORAGE_MODE: copy