Skip to content

Commit

Permalink
ci: Add caching for opam packages to speed up CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Nov 16, 2024
1 parent 36f27a9 commit 062d8bf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ jobs:
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.2"
dune-cache : true
dune-cache: true
- name: Cache opam packages
uses: actions/cache@v4
with:
path: ~/.opam
key: ${{ runner.os }}-opam-${{ hashFiles('**/*.opam') }}
restore-keys: |
${{ runner.os }}-opam-
- name: Install forester
run: |
sudo apt-get install libev-dev
Expand Down

0 comments on commit 062d8bf

Please sign in to comment.