feat(php): drop support for EOLed PHP versions and unify min required… #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Samples OCaml | |
on: | |
push: | |
paths: | |
- 'samples/client/petstore/ocaml/**' | |
pull_request: | |
paths: | |
- 'samples/client/petstore/ocaml/**' | |
jobs: | |
build: | |
name: Build OCaml | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sample: | |
- 'samples/client/petstore/ocaml/' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set-up OCaml | |
uses: ocaml/setup-ocaml@v3 | |
with: | |
ocaml-compiler: 5 | |
- name: Install | |
run: opam install . --deps-only --with-test | |
working-directory: ${{ matrix.sample }} | |
- name: Build | |
run: opam exec -- dune build | |
working-directory: ${{ matrix.sample }} |