Skip to content

Add OCaml CI workflow via setup-ocaml#10

Draft
Copilot wants to merge 2 commits intodevfrom
copilot/add-ocaml-github-action
Draft

Add OCaml CI workflow via setup-ocaml#10
Copilot wants to merge 2 commits intodevfrom
copilot/add-ocaml-github-action

Conversation

Copy link

Copilot AI commented Mar 16, 2026

No CI existed for this OCaml/Dune project. Adds a GitHub Actions workflow using ocaml/setup-ocaml@v3.

Workflow (.github/workflows/build.yml)

  • Triggers: all pushes and PRs across all branches
  • OCaml: 5.2.0 via setup-ocaml
  • Deps: opam install . --deps-only --with-test
  • Build: dune build — test step is gated on this succeeding
  • Test: dune test
  • Permissions: contents: read (least-privilege GITHUB_TOKEN)

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: wizard7377 <76231370+wizard7377@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Action to set up OCaml and run tests Add OCaml CI workflow via setup-ocaml Mar 16, 2026
Copilot AI requested a review from wizard7377 March 16, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants