From ab65cee5d40982a6d337958f158633d634fb7b7d Mon Sep 17 00:00:00 2001 From: zapashcanon Date: Wed, 26 Feb 2025 14:50:24 +0100 Subject: [PATCH] disable opam cache in CI --- .github/workflows/build.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d243abed..57898f9f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,20 +31,11 @@ jobs: git submodule update --init test/script/reference git submodule update --init test/c/collections-c/files mv .git .git.tmp # prevents opam from checking-out submodules - - name: cache - id: cache-opam - uses: actions/cache@v4 - env: - cache-name: cache-opam-build - with: - path: | - ~/work/owi/owi/_opam/ - key: ${{ runner.os }}-build-${{ matrix.ocaml-compiler }}-${{ env.cache-name }}-${{ hashFiles('**/*.opam') }} - name: setup-ocaml uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: ${{ matrix.ocaml-compiler }} - dune-cache: true + dune-cache: false opam-pin: true allow-prerelease-opam: false - name: depext @@ -62,12 +53,10 @@ jobs: fi opam install . --depext-only --with-test --with-doc - name: setup - if: steps.cache-opam.outputs.cache-hit != 'true' run: | opam install . --deps-only --with-test --with-doc opam install smtml z3 opam install ocamlformat - opam clean --switch-cleanup - name: build run: | if [ "$RUNNER_OS" == "macOS" ]; then