From 509cdbc533637d6464704aeb592c63ddfc7b94dd Mon Sep 17 00:00:00 2001 From: Vincent Balat Date: Sun, 27 Sep 2026 00:46:05 +0200 Subject: [PATCH] ci: drop the ocsigenserver pin Ocsigen Server 8.0.0 is now published on opam (ocaml/opam-repository#30806). The ocsipersist pins stay until 3.1.1 is published (ocaml/opam-repository#30818). --- .github/workflows/doc.yml | 10 ++++------ .github/workflows/workflow.yml | 10 +++------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 99175bc86f..4a132c2e4f 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -82,12 +82,10 @@ jobs: # Cache miss only: build the dependency tree and wodoc once, then re-cache. if: steps.switch-cache.outputs.cache-hit != 'true' run: | - # Ocsigen Server 8 and ocsipersist 3.1 are released on GitHub but - # not yet published on opam (ocaml/opam-repository#30806): pin the - # release tags until then. ocsipersist needs explicit versions, as - # opam infers a pinned package's version from opam-repository when - # the project declares none. - opam pin -yn git+https://github.com/ocsigen/ocsigenserver#8.0.0 + # ocsipersist 3.1 is released on GitHub but not yet published on + # opam (ocaml/opam-repository#30818): pin the release tag until + # then, with explicit versions, as opam infers a pinned package's + # version from opam-repository when the project declares none. opam pin -yn ocsipersist-lib.3.1.0 git+https://github.com/ocsigen/ocsipersist#3.1.0 opam pin -yn ocsipersist.3.1.0 git+https://github.com/ocsigen/ocsipersist#3.1.0 opam install . --deps-only --with-doc diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 262a2a3fac..7272923920 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -42,14 +42,10 @@ jobs: with: token: ${{ github.token }} - # Ocsigen Server 8.0.0 is released on GitHub but not yet published on - # opam (ocaml/opam-repository#30806): pin the release tag until then, - # so CI tests the declared artifact. - - run: opam pin -y git+https://github.com/ocsigen/ocsigenserver#8.0.0 # Eliom needs ocsipersist >= 3.1, released on GitHub but not yet - # published on opam. The version must be explicit: opam infers a pinned - # package's version from opam-repository (2.1.0) when the project - # declares none. + # published on opam (ocaml/opam-repository#30818). The version must be + # explicit: opam infers a pinned package's version from opam-repository + # (2.1.0) when the project declares none. - run: opam pin -yn ocsipersist-lib.3.1.0 git+https://github.com/ocsigen/ocsipersist#3.1.0 - run: opam pin -yn ocsipersist.3.1.0 git+https://github.com/ocsigen/ocsipersist#3.1.0 # Published js_of_ocaml (6.3.2) caps at ocaml < 5.5; pin master for