Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,23 @@ jobs:

runs-on: ${{ matrix.os }}

# Keep Git maintenance in the foreground to avoid a race in opam 2.5.
# See https://github.com/ocaml/opam/issues/7031.
env:
GIT_CONFIG_COUNT: "2"
GIT_CONFIG_KEY_0: gc.autoDetach
GIT_CONFIG_VALUE_0: "false"
GIT_CONFIG_KEY_1: maintenance.autoDetach
GIT_CONFIG_VALUE_1: "false"

steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Setup OCaml
uses: ocaml/setup-ocaml@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3.4.8
uses: ocaml/setup-ocaml@e89b2ded52a6e13f50162220cf5fe47290162032 # v3.8.0
with:
ocaml-compiler: "${{ matrix.ocaml-compiler }}"
dune-cache: true
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
mbarbin: https://github.com/mbarbin/opam-repository.git
Expand Down Expand Up @@ -73,10 +81,10 @@ jobs:
run: git diff --exit-code

- name: Lint opam
uses: ocaml/setup-ocaml/lint-opam@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3.4.8
uses: ocaml/setup-ocaml/lint-opam@e89b2ded52a6e13f50162220cf5fe47290162032 # v3.8.0

- name: Lint fmt
uses: ocaml/setup-ocaml/lint-fmt@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3.4.8
uses: ocaml/setup-ocaml/lint-fmt@e89b2ded52a6e13f50162220cf5fe47290162032 # v3.8.0

- name: Lint doc
uses: ocaml/setup-ocaml/lint-doc@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3.4.8
uses: ocaml/setup-ocaml/lint-doc@e89b2ded52a6e13f50162220cf5fe47290162032 # v3.8.0
13 changes: 11 additions & 2 deletions .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest

# Keep Git maintenance in the foreground to avoid a race in opam 2.5.
# See https://github.com/ocaml/opam/issues/7031.
env:
GIT_CONFIG_COUNT: "2"
GIT_CONFIG_KEY_0: gc.autoDetach
GIT_CONFIG_VALUE_0: "false"
GIT_CONFIG_KEY_1: maintenance.autoDetach
GIT_CONFIG_VALUE_1: "false"

defaults:
run:
shell: bash
Expand All @@ -35,10 +45,9 @@ jobs:
run: npm ci --ignore-scripts

- name: Setup OCaml
uses: ocaml/setup-ocaml@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3.4.8
uses: ocaml/setup-ocaml@e89b2ded52a6e13f50162220cf5fe47290162032 # v3.8.0
with:
ocaml-compiler: "5.3.x"
dune-cache: true
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
mbarbin: https://github.com/mbarbin/opam-repository.git
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/more-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ jobs:

runs-on: ${{ matrix.os }}

# Keep Git maintenance in the foreground to avoid a race in opam 2.5.
# See https://github.com/ocaml/opam/issues/7031.
env:
GIT_CONFIG_COUNT: "2"
GIT_CONFIG_KEY_0: gc.autoDetach
GIT_CONFIG_VALUE_0: "false"
GIT_CONFIG_KEY_1: maintenance.autoDetach
GIT_CONFIG_VALUE_1: "false"

defaults:
run:
shell: bash
Expand All @@ -53,10 +62,9 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Setup OCaml
uses: ocaml/setup-ocaml@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3.4.8
uses: ocaml/setup-ocaml@e89b2ded52a6e13f50162220cf5fe47290162032 # v3.8.0
with:
ocaml-compiler: "${{ matrix.ocaml-compiler }}"
dune-cache: true
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
mbarbin: https://github.com/mbarbin/opam-repository.git
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/test-deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest

# Keep Git maintenance in the foreground to avoid a race in opam 2.5.
# See https://github.com/ocaml/opam/issues/7031.
env:
GIT_CONFIG_COUNT: "2"
GIT_CONFIG_KEY_0: gc.autoDetach
GIT_CONFIG_VALUE_0: "false"
GIT_CONFIG_KEY_1: maintenance.autoDetach
GIT_CONFIG_VALUE_1: "false"

defaults:
run:
shell: bash
Expand All @@ -35,10 +45,9 @@ jobs:
run: npm ci --ignore-scripts

- name: Setup OCaml
uses: ocaml/setup-ocaml@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3.4.8
uses: ocaml/setup-ocaml@e89b2ded52a6e13f50162220cf5fe47290162032 # v3.8.0
with:
ocaml-compiler: "5.3.x"
dune-cache: true
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
mbarbin: https://github.com/mbarbin/opam-repository.git
Expand Down
2 changes: 1 addition & 1 deletion dune-workspace.4.14
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
(repositories overlay upstream mbarbin)
(constraints
(ocaml
(= 4.14.3))))
(= 4.14.4))))

(repository
(name mbarbin)
Expand Down
2 changes: 1 addition & 1 deletion dune-workspace.5.5
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
(repositories overlay upstream alpha mbarbin)
(constraints
(ocaml
(= 5.5.0))))
(= 5.5.1))))

(repository
(name mbarbin)
Expand Down
Loading