Skip to content

Commit 0a9cd23

Browse files
committed
upgrade to ocaml 5.4
1 parent ccf69b1 commit 0a9cd23

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# - windows-latest
1616
ocaml-version:
1717
- 4.14
18-
- 5.3
18+
- 5.4
1919

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

.github/workflows/deploy-doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set-up OCaml
3434
uses: ocaml/setup-ocaml@v3
3535
with:
36-
ocaml-compiler: "5.3"
36+
ocaml-compiler: "5.4"
3737
dune-cache: true
3838
allow-prerelease-opam: true
3939

.github/workflows/lint.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v5
1414

15-
- name: Use OCaml 5.3
15+
- name: Use OCaml 5.4
1616
uses: ocaml/setup-ocaml@v3
1717
with:
18-
ocaml-compiler: 5.3
18+
ocaml-compiler: 5.4
1919
dune-cache: true
2020
allow-prerelease-opam: true
2121

@@ -30,10 +30,10 @@ jobs:
3030
- name: Checkout code
3131
uses: actions/checkout@v5
3232

33-
- name: Use OCaml 5.3
33+
- name: Use OCaml 5.4
3434
uses: ocaml/setup-ocaml@v3
3535
with:
36-
ocaml-compiler: 5.3
36+
ocaml-compiler: 5.4
3737
dune-cache: true
3838
allow-prerelease-opam: true
3939

@@ -63,10 +63,10 @@ jobs:
6363
- name: Checkout code
6464
uses: actions/checkout@v5
6565

66-
- name: Use OCaml 5.3
66+
- name: Use OCaml 5.4
6767
uses: ocaml/setup-ocaml@v3
6868
with:
69-
ocaml-compiler: 5.3
69+
ocaml-compiler: 5.4
7070
dune-cache: true
7171
allow-prerelease-opam: true
7272

@@ -79,10 +79,10 @@ jobs:
7979
- name: Checkout code
8080
uses: actions/checkout@v5
8181

82-
- name: Use OCaml 5.3
82+
- name: Use OCaml 5.4
8383
uses: ocaml/setup-ocaml@v3
8484
with:
85-
ocaml-compiler: 5.3
85+
ocaml-compiler: 5.4
8686
dune-cache: true
8787
allow-prerelease-opam: true
8888

.github/workflows/opam-dependency-submission.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
- name: Checkout tree
1212
uses: actions/checkout@v5
1313

14-
- name: Set-up OCaml 5.3
14+
- name: Set-up OCaml 5.4
1515
uses: ocaml/setup-ocaml@v3
1616
with:
17-
ocaml-compiler: 5.3
17+
ocaml-compiler: 5.4
1818
dune-cache: true
1919
allow-prerelease-opam: true
2020

.ocamlformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
profile=default
2-
version=0.27.0
2+
version=0.28.1

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ The setup should be installable as easily as possible.
77
## Getting started
88

99
```sh
10-
opam switch create . 5.3.0 --no-install
10+
opam switch create . 5.4.0 --no-install
1111
opam install . --deps-only --with-dev-setup
1212
```
1313

1414
## Build system
1515

16-
The current goto build system in ocaml is dune. Version 3 or superior of the
16+
The current goto build system in ocaml is dune. Version 3.20 or superior of the
1717
dune lang should be used if possible. Unless the goal is to write a library
1818
that must be compatible with legacy environements. The base of the project has
1919
been generated with `dune init project modern_ocaml`.

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
(lang dune 3.17)
1+
(lang dune 3.20)
22

33
(name modern-ocaml)

modern-ocaml.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ doc: "https://khady.github.io/modern-ocaml/"
99
tags: ["ocaml" "is" "love"]
1010
depends: [
1111
"ocaml"
12-
"dune" {>= "3.17"}
13-
"ocamlformat" {= "0.27.0" & with-dev-setup}
12+
"dune" {>= "3.20"}
13+
"ocamlformat" {= "0.28.1" & with-dev-setup}
1414
"ocaml-lsp-server" {with-dev-setup}
1515
"odoc" {with-doc}
1616
"dune-release" {with-dev-setup}

0 commit comments

Comments
 (0)