try to fix ci

This commit is contained in:
Simon Cruanes 2021-02-05 14:25:38 -05:00
parent dc80c1de1a
commit 3d46315b82

View file

@ -13,16 +13,16 @@ jobs:
- uses: avsm/setup-ocaml@master
with:
ocaml-version: ${{ matrix.ocaml-version }}
- name: cache opam
id: cache-opam
uses: actions/cache@v2
with:
path: _opam
key: opam-${{matrix.operating-system}}-${{matrix.ocaml-version}}
#- name: cache opam
# id: cache-opam
# uses: actions/cache@v2
# with:
# path: _opam
# key: opam-${{matrix.operating-system}}-${{matrix.ocaml-version}}
- run: opam pin -n .
- run: opam depext -yt sidekick-bin
if: steps.cache-opam.outputs.cache-hit != 'true'
#if: steps.cache-opam.outputs.cache-hit != 'true'
- run: opam install -t . --deps-only
if: steps.cache-opam.outputs.cache-hit != 'true'
#if: steps.cache-opam.outputs.cache-hit != 'true'
- run: opam exec -- dune build
- run: opam exec -- dune runtest