3030 with :
3131 fetch-depth : 1
3232
33+ - uses : ocaml/setup-ocaml@v3
34+ with :
35+ ocaml-compiler : 5.3.x
36+ dune-cache : true
37+ allow-prerelease-opam : true
38+
39+ - name : Setup project
40+ run : |
41+ # FIXME: We need to pin printbox-text until > 0.12.0 is released.
42+ opam pin -n printbox-text https://github.com/c-cube/printbox.git
43+ opam pin -n .
44+ opam install . -y --deps-only --with-test --with-doc
45+
3346 - name : Run Claude Code
3447 id : claude
3548 uses : anthropics/claude-code-action@beta
@@ -41,22 +54,21 @@ jobs:
4154 actions: read
4255
4356 # Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4.1)
44- # model: "claude-opus-4-1-20250805"
57+ model : " claude-opus-4-1-20250805"
4558
4659 # Optional: Customize the trigger phrase (default: @claude)
47- # trigger_phrase: "/ claude"
60+ trigger_phrase : " @ claude-opus "
4861
4962 # Optional: Trigger when specific user is assigned to an issue
50- # assignee_trigger: "claude-bot"
63+ assignee_trigger : " claude-bot"
5164
5265 # Optional: Allow Claude to run specific commands
53- # allowed_tools: "Bash(npm install ),Bash(npm run build),Bash(npm run test:* ),Bash(npm run lint:* )"
66+ allowed_tools : " Bash(opam exec ),Bash(dune build),Bash(dune test),Bash(dune exec),Bash(dune runtest )"
5467
5568 # Optional: Add custom instructions for Claude to customize its behavior for your project
56- # custom_instructions: |
57- # Follow our coding standards
58- # Ensure all new code has tests
59- # Use TypeScript for new files
69+ custom_instructions : |
70+ The OCANNL build system and dependencies are already installed;
71+ you can verify this by running `opam switch`, and `dune build @check` or `opam exec -- dune build @check`.
6072
6173 # Optional: Custom environment variables for Claude
6274 # claude_env: |
0 commit comments