Skip to content

Commit

Permalink
Add dune cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
KFoxder committed Apr 19, 2024
1 parent dd12085 commit 79a8cd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/auto_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1"
dune-cache: true
allow-prerelease-opam: true
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
dune-cache: true
cache-prefix: dune-cache-${{ matrix.os }}-${{ matrix.ocaml-compiler }}
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: ${{ matrix.allow-prerelease-opam }}
opam-repositories: ${{ matrix.opam-repositories }}
Expand Down

0 comments on commit 79a8cd7

Please sign in to comment.