Skip to content

Commit

Permalink
upgrade to ocaml 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Khady committed Jan 31, 2025
1 parent 4b2c61c commit 18d1ed9
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# - windows-latest
ocaml-version:
- 4.14
- 5.2
- 5.3

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.2"
ocaml-compiler: "5.3"
dune-cache: true
allow-prerelease-opam: true

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Use OCaml 5.2
- name: Use OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.2
ocaml-compiler: 5.3
dune-cache: true
allow-prerelease-opam: true

Expand All @@ -30,10 +30,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Use OCaml 5.2
- name: Use OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.2
ocaml-compiler: 5.3
dune-cache: true
allow-prerelease-opam: true

Expand Down Expand Up @@ -63,10 +63,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Use OCaml 5.2
- name: Use OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.2
ocaml-compiler: 5.3
dune-cache: true
allow-prerelease-opam: true

Expand All @@ -79,10 +79,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Use OCaml 5.2
- name: Use OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.2
ocaml-compiler: 5.3
dune-cache: true
allow-prerelease-opam: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/opam-dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml 5.2
- name: Set-up OCaml 5.3
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.2
ocaml-compiler: 5.3
dune-cache: true
allow-prerelease-opam: true

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The setup should be installable as easily as possible.
## Getting started

```sh
opam switch create . 5.2.0 --no-install
opam switch create . 5.3.0 --no-install
opam install . --deps-only --with-dev-setup
```

Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
(lang dune 3.12)
(lang dune 3.17)

(name modern-ocaml)
2 changes: 1 addition & 1 deletion modern-ocaml.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ doc: "https://khady.github.io/modern-ocaml/"
tags: ["ocaml" "is" "love"]
depends: [
"ocaml"
"dune" {>= "3.12"}
"dune" {>= "3.17"}
"ocamlformat" {= "0.27.0" & with-dev-setup}
"ocaml-lsp-server" {with-dev-setup}
"odoc" {with-doc}
Expand Down

0 comments on commit 18d1ed9

Please sign in to comment.