This repository was archived by the owner on Oct 9, 2026. It is now read-only.
Repository navigation
ci: add CI and OSV scan, locked with gh actions-lock - #1
Merged
Merged
Conversation
Build and run the test suite on Linux and macOS using dune package management, pinned to dune 3.24.0, and check formatting with the ocamlformat dev tool. Scan dune.lock with lmdexpr/dune-lock-osv on lock changes and daily (scheduled runs open/update an issue when vulnerabilities are found). Workflow dependencies, including transitive ones from composite actions, are locked with gh actions-lock. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The standalone fmt job took ~10 minutes: @fmt needs the locked compiler, so it rebuilt the project's compiler on top of the ocamlformat dev tool, and its dune cache never saved because it raced the Linux test job on the same key. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CI pins dune 3.24.0; align the project's language version (and the generated opam lower bounds) with it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/osv.yml): scandune.lock/against OSV.dev with lmdexpr/dune-lock-osv on lock changes and daily. Scheduled runs open/update an issue when vulnerabilities are found..github/workflows/ci.yml): build anddune runteston Linux and macOS viaocaml-dune/setup-dune, pinned to dune 3.24.0 to match local; format check with the ocamlformat dev tool (dune build @fmt).actions/github-script,actions/cache,actions/upload-artifact), are pinned in.github/workflows/actions.lockbygh actions-lock(technical preview).Same setup as lmdexpr/sigv4.ml#1.
Notes
gh actions-lockrewritesuses:to tag/branch refs (e.g.lmdexpr/dune-lock-osv@main); the commit SHA is pinned in the lockfile. Rungh actions-lockto update it.dune.lockalready carries the fixed versions (cohttp 6.3.0, cstruct 6.3.0, ocaml 5.5.1); a local osv-scanner 2.5.1 run on the generated SBOM reports no issues.gh actions-lock --no-fix(valid),actionlint,dune build @fmt,dune runtest.🤖 Generated with Claude Code