mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-05 19:00:33 -05:00
chore: update workflows
This commit is contained in:
parent
90a5c7bc06
commit
6c8d6840f8
2 changed files with 5 additions and 4 deletions
4
.github/workflows/gh-pages.yml
vendored
4
.github/workflows/gh-pages.yml
vendored
|
|
@ -18,9 +18,9 @@ jobs:
|
|||
path: ~/.opam
|
||||
key: opam-ubuntu-latest-4.12.0
|
||||
|
||||
- uses: ocaml/setup-ocaml@v2
|
||||
- uses: ocaml/setup-ocaml@v3
|
||||
with:
|
||||
ocaml-compiler: '4.14'
|
||||
ocaml-compiler: '5.03'
|
||||
|
||||
- name: Pin
|
||||
run: opam pin -n .
|
||||
|
|
|
|||
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
|
@ -16,9 +16,10 @@ jobs:
|
|||
ocaml-compiler:
|
||||
- 4.08
|
||||
- 4.14
|
||||
- 5.03
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ocaml/setup-ocaml@master
|
||||
with:
|
||||
ocaml-compiler: ${{ matrix.ocaml-compiler }}
|
||||
|
|
@ -28,4 +29,4 @@ jobs:
|
|||
- run: opam install -t . --deps-only
|
||||
- run: opam exec -- dune build --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' }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue