Skip to content

add workflow file

add workflow file #1

Workflow file for this run

name: Build and test
on: [push]
jobs:
build-and-test:
steps:

Check failure on line 5 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / Build and test

Invalid workflow file

The workflow is not valid. .github/workflows/main.yaml (Line: 5, Col: 5): Required property is missing: runs-on
- name: Check out repository code
uses: actions/checkout@v4
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest