From 95464a586fe4fbc5c53d31fcd89a071a599b4e9f Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Wed, 3 Jul 2024 08:01:36 +0200 Subject: [PATCH] opam from apt --- .github/workflows/ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b175799..3c26d14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,14 +22,13 @@ jobs: with: repository: rescript-lang/rescript-compiler - - run: sudo apt update - - - name: Setup OCaml - uses: ocaml/setup-ocaml@v3.0.0 + - name: Install dependencies (Linux) + uses: awalsh128/cache-apt-pkgs-action@v1.4.2 with: - ocaml-compiler: 5.2.0 - allow-prerelease-opam: true - opam-pin: false + packages: opam musl-tools + version: v1 + + - run: opam --version - run: opam install . --deps-only