Skip to content
This repository was archived by the owner on Oct 9, 2026. It is now read-only.

ci: add OSV scan and setup-dune CI, locked with gh actions-lock - #1

Merged
lmdexpr merged 2 commits into
mainfrom
ci/osv-scan
Oct 1, 2026
Merged

lmdexpr merged 2 commits into
mainfrom
ci/osv-scan

Conversation

@lmdexpr

@lmdexpr lmdexpr commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Summary

Same setup as lmdexpr/sigv4.ml#1, plus a bump to the merged sigv4.

  • OSV scan (.github/workflows/osv.yml): scan dune.lock/ against OSV.dev with lmdexpr/dune-lock-osv on lock changes and daily. Scheduled runs open/update an issue when vulnerabilities are found.
  • CI (.github/workflows/ci.yml): replace the opam-bootstrapped job with ocaml-dune/setup-dune pinned to dune 3.24.2; build and dune runtest on Linux and macOS, format check (dune build @fmt) in the Linux test job.
  • Lock: all workflow dependencies, including transitive ones from composite actions, are pinned in .github/workflows/actions.lock by gh actions-lock (technical preview, v0.1.6). Dependabot is removed, since bumping uses: refs alone would leave the lockfile stale.
  • sigv4: pin sigv4 / sigv4-cohttp-eio to lmdexpr/sigv4.ml@18b21b6 (merge of ci: add OSV scan and setup-dune CI, locked with gh actions-lock #1) in dune-project and the opam pin-depends, relocked with dune 3.24.2. The relock also bumps eio / eio_linux / eio_main / eio_posix 1.5 -> 1.6.

Notes

  • gh actions-lock rewrites uses: to tag/branch refs; the commit SHA is pinned in the lockfile. Run gh actions-lock to update it.
  • Verified locally with dune 3.24.2: dune build @all, dune build @fmt, dune runtest, OSV scan of the new lock (no issues), actionlint, gh actions-lock --no-fix.

🤖 Generated with Claude Code

lmdexpr and others added 2 commits October 1, 2026 18:48
…lock

Replace the opam-bootstrapped CI with ocaml-dune/setup-dune pinned to dune
3.24.2: build and test on Linux and macOS, and check formatting in the
Linux test job (it already built the locked compiler @fmt needs).

Scan dune.lock against OSV.dev with lmdexpr/dune-lock-osv on lock changes
and daily; scheduled runs open/update an issue when vulnerabilities are
found.

All workflow dependencies, including transitive ones from composite
actions, are locked with gh actions-lock (technical preview, v0.1.6).
Dependabot is removed: bumping uses: refs alone would leave actions.lock
stale.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pin sigv4 / sigv4-cohttp-eio to the merge of lmdexpr/sigv4.ml#1 (CI, OSV
scan and dune.lock vulnerability fixes) in dune-project and the opam
pin-depends, and relock with dune 3.24.2. Besides the pin, the relock
bumps eio, eio_linux, eio_main and eio_posix 1.5 -> 1.6.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@lmdexpr lmdexpr self-assigned this Oct 1, 2026
@lmdexpr
lmdexpr merged commit 7759f5f into main Oct 1, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant