Skip to content

Commit

Permalink
Revert "ci: cache/restore opam"
Browse files Browse the repository at this point in the history
`ocaml/setup-ocaml` might do this for us?

This reverts commit 8749644.
  • Loading branch information
samcowger committed Aug 29, 2024
1 parent a1ac183 commit 990c3f7
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/server-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,15 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Restore cached ~/.opam
id: cache-opam-restore
uses: actions/cache/restore@v4
with:
path: ~/.opam
key: ${{ matrix.ocaml-version }}

- name: Set up OCaml
if: steps.cache-opam-restore.outputs.cache-hit != 'true'
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-version }}

- name: Install server dependencies
if: steps.cache-opam-restore.outputs.cache-hit != 'true'
working-directory: ./cn-lsp/server
run: opam install . --deps-only --locked -y

- name: Cache ~/.opam
if: steps.cache-opam-restore.outputs.cache-hit != 'true'
id: cache-opam-save
uses: actions/cache/save@v4
with:
path: ~/.opam
key: ${{ steps.cache-opam-restore.outputs.cache-primary-key }}

- name: Build server
working-directory: ./cn-lsp/server
run: |
Expand Down

0 comments on commit 990c3f7

Please sign in to comment.