diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index b8e7114d..7c7c7840 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -13,26 +13,21 @@ jobs: # - macos-latest - ubuntu-latest # - windows-latest - ocaml-version: - - 4.11.0 - - 4.10.1 + ocaml-compiler: + - "5.1" 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 + - name: Use OCaml ${{ matrix.ocaml-compiler }} + uses: ocaml/setup-ocaml@v2 with: - ocaml-version: ${{ matrix.ocaml-version }} + ocaml-compiler: ${{ matrix.ocaml-compiler }} - - run: opam pin add c4f.dev . --no-action - - - run: opam depext c4f --yes --with-doc --with-test - - - run: opam install . --deps-only --with-doc --with-test + - run: opam install . --deps-only --with-test - run: opam exec -- dune build @@ -41,5 +36,5 @@ jobs: # - name: Upload the build artifact # uses: actions/upload-artifact@v2 # with: -# name: ${{ matrix.os }}-${{ matrix.ocaml-version }}-world.exe +# name: ${{ matrix.os }}-${{ matrix.ocaml-compiler }}-world.exe # path: _build/default/world.exe