From 6673801c9f2103f0f1bddec9301e56e6cf3cef6f Mon Sep 17 00:00:00 2001 From: Bannerets Date: Wed, 29 Jun 2022 20:50:54 +0000 Subject: [PATCH] Fix lockfiles in CI https://github.com/ocaml/setup-ocaml/issues/166 --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d24ff7d..749ab35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,8 @@ jobs: - 4.12.x - 4.13.x - 4.14.x + env: + OPAMLOCKED: locked steps: - uses: actions/checkout@v3 - name: Use OCaml ${{ matrix.ocaml-version }} @@ -24,7 +26,7 @@ jobs: with: ocaml-compiler: ${{ matrix.ocaml-version }} - name: Install dependencies - run: opam install . --deps-only --with-test --locked + run: opam install . --deps-only --with-test - name: Build run: opam exec -- dune build @install @examples - name: Test