chore: update workflows

This commit is contained in:
Simon Cruanes 2025-01-27 21:49:09 -05:00
parent 90a5c7bc06
commit 6c8d6840f8
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 5 additions and 4 deletions

View file

@ -18,9 +18,9 @@ jobs:
path: ~/.opam path: ~/.opam
key: opam-ubuntu-latest-4.12.0 key: opam-ubuntu-latest-4.12.0
- uses: ocaml/setup-ocaml@v2 - uses: ocaml/setup-ocaml@v3
with: with:
ocaml-compiler: '4.14' ocaml-compiler: '5.03'
- name: Pin - name: Pin
run: opam pin -n . run: opam pin -n .

View file

@ -16,9 +16,10 @@ jobs:
ocaml-compiler: ocaml-compiler:
- 4.08 - 4.08
- 4.14 - 4.14
- 5.03
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: ocaml/setup-ocaml@master - uses: ocaml/setup-ocaml@master
with: with:
ocaml-compiler: ${{ matrix.ocaml-compiler }} ocaml-compiler: ${{ matrix.ocaml-compiler }}
@ -28,4 +29,4 @@ jobs:
- run: opam install -t . --deps-only - run: opam install -t . --deps-only
- run: opam exec -- dune build --ignore-promoted-rules - run: opam exec -- dune build --ignore-promoted-rules
- run: opam exec -- dune runtest --ignore-promoted-rules - run: opam exec -- dune runtest --ignore-promoted-rules
if: ${{ matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == '4.14.x' }} if: ${{ matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == '5.03' }}