Skip to content

Commit

Permalink
CI: try dune-cache (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron authored Oct 25, 2024
1 parent 6c75fb9 commit e94401a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{matrix.ocaml}}
dune-cache: true

# For Caqti PostgreSQL examples. opam does actually install PostgreSQL for
# us. However, Homebrew doesn't link it by default, so we have to install
Expand Down Expand Up @@ -94,6 +95,7 @@ jobs:
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{matrix.ocaml}}
dune-cache: true

- name: Run quickstart.sh
shell: bash
Expand Down Expand Up @@ -123,6 +125,7 @@ jobs:
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.14.x
dune-cache: true
# Needed until https://github.com/robur-coop/ocaml-letsencrypt/pull/34.
- run: opam pin add letsencrypt git+https://github.com/hannesm/ocaml-letsencrypt.git#no-cstruct --no-action
- run: opam install --yes --deps-only ./dream-pure.opam ./dream-httpaf.opam ./dream.opam ./dream-mirage.opam
Expand Down

0 comments on commit e94401a

Please sign in to comment.