diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b3ff52d01..8c48dd82ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,6 +116,11 @@ jobs: with: ocaml-compiler: ${{ matrix.ocaml-compiler }} + # Pin Dune to a version which supports the new --effects flag + # (https://github.com/ocaml/dune/pull/11222). + - name: Pin Dune + run: opam pin add --no-action dune https://github.com/OlivierNicole/dune.git#jsoo-effects + # Work-around a race between reinstalling mingw-w64-shims # (because of conf-pkg-config optional dep) and installing other # packages that implicitly depend on mingw-w64-shims.