From 8607de2749bc14f51b43f6754ed461a7367cccd9 Mon Sep 17 00:00:00 2001 From: Fardale Date: Wed, 15 Feb 2023 11:00:50 +0100 Subject: [PATCH] CI(chore): remove explicite pin and deps install Pinning and installation of the dependency is already done by setup-ocaml --- .github/workflows/compat.yml | 2 -- .github/workflows/gh-pages.yml | 6 ------ .github/workflows/main.yml | 4 ---- 3 files changed, 12 deletions(-) diff --git a/.github/workflows/compat.yml b/.github/workflows/compat.yml index a4f628ba..fe544ef2 100644 --- a/.github/workflows/compat.yml +++ b/.github/workflows/compat.yml @@ -32,7 +32,5 @@ jobs: ocaml-compiler: ${{ matrix.ocaml-compiler }} dune-cache: true - - run: opam pin -n . - - run: opam depext -y containers containers-data containers-thread - run: opam install containers containers-data containers-thread --deps-only - run: opam exec -- dune build '@install' diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 9ccc9fa2..017a4bd6 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -18,12 +18,6 @@ jobs: ocaml-compiler: '4.14.x' dune-cache: false - - name: Pin - run: opam pin -n . - - - name: Depext - run: opam depext -yt containers containers-data containers-thread - - name: Deps run: opam install -d . --deps-only diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c1421b2..a5287b84 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,10 +31,6 @@ jobs: ocaml-compiler: ${{ matrix.ocaml-compiler }} dune-cache: true - - run: opam pin -n . - - - run: opam depext -yt containers containers-data containers-thread - - run: opam install -t containers containers-data containers-thread --deps-only if: matrix.os == 'ubuntu-latest'