From 1c4c974d1811735837e045f7d1eaffa2db384d5a Mon Sep 17 00:00:00 2001 From: Fardale Date: Mon, 29 Jan 2024 11:43:59 +0100 Subject: [PATCH] update github action --- .github/workflows/workflow.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index b1fa6bf..d83c127 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -13,20 +13,21 @@ jobs: - macos-latest - ubuntu-latest ocaml-version: - - 4.11.1 + - 4.14 runs-on: ${{ matrix.os }} + steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use OCaml ${{ matrix.ocaml-version }} - uses: avsm/setup-ocaml@v1 + uses: avsm/setup-ocaml@v2 with: ocaml-version: ${{ matrix.ocaml-version }} - - run: opam pin add . --no-action - run: opam install . --deps-only --with-test - run: opam exec -- dune build + - run: opam exec -- dune runtest