Create a .github/workflows/dune.yml
file with something like:
name: Build and test
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
runs-on: [ ubuntu-latest, macos-latest, macos-13 ]
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use dune
uses: ocaml-dune/setup-dune@v0
with:
automagic: true
Only one input for now.
automagic
: iftrue
, it will run automaticallydune pkg lock
,dune build
anddune runtest
. Defaults tofalse
.
Only one output for now.
dune-cache-hit
: reports whether the Dune cache was found in the GitHub Action cache.
Contributions are most welcome!
- File issues to report bugs or feature requests.
- Contribute code or documentation.
This project has been created and is maintained by Tarides.