From 18d1ed928b754867201de94285b9b701042c0c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20Roch=C3=A9?= Date: Fri, 31 Jan 2025 17:06:20 +0800 Subject: [PATCH] upgrade to ocaml 5.3 --- .github/workflows/build-test.yml | 2 +- .github/workflows/deploy-doc.yml | 2 +- .github/workflows/lint.yml | 16 ++++++++-------- .github/workflows/opam-dependency-submission.yml | 4 ++-- README.md | 2 +- dune-project | 2 +- modern-ocaml.opam | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 657bd95..e3ca866 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -15,7 +15,7 @@ jobs: # - windows-latest ocaml-version: - 4.14 - - 5.2 + - 5.3 runs-on: ${{ matrix.os }} diff --git a/.github/workflows/deploy-doc.yml b/.github/workflows/deploy-doc.yml index 824fdab..38534ed 100644 --- a/.github/workflows/deploy-doc.yml +++ b/.github/workflows/deploy-doc.yml @@ -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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ba8a5eb..c48114e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/opam-dependency-submission.yml b/.github/workflows/opam-dependency-submission.yml index be607d3..3b56421 100644 --- a/.github/workflows/opam-dependency-submission.yml +++ b/.github/workflows/opam-dependency-submission.yml @@ -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 diff --git a/README.md b/README.md index 2df2a46..fd1d718 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/dune-project b/dune-project index ab3ea8f..4835ce6 100644 --- a/dune-project +++ b/dune-project @@ -1,3 +1,3 @@ -(lang dune 3.12) +(lang dune 3.17) (name modern-ocaml) diff --git a/modern-ocaml.opam b/modern-ocaml.opam index 4523b08..7e61d1f 100644 --- a/modern-ocaml.opam +++ b/modern-ocaml.opam @@ -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}