From 34040ca391ce0779fc8b8fd994567274f6731664 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Wed, 16 Jul 2025 00:26:37 +0900 Subject: [PATCH 1/3] Upgrade GitHub Actions workflow with latest runners and actions Signed-off-by: Sora Morimoto --- .github/workflows/test.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ea4474e..01dc0cf9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,14 +7,12 @@ jobs: fail-fast: false matrix: os: - - ubuntu-20.04 - - macos-11 - # Build binaries on older systems to require lower versions of libc and - # other system libraries. + - ubuntu-latest + - macos-latest runs-on: ${{matrix.os}} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: npm install esy - run: echo PATH=$(pwd)/node_modules/.bin:$PATH >> $GITHUB_ENV - run: make -C test/js full-test @@ -55,8 +53,8 @@ jobs: runs-on: ${{matrix.os}} steps: - - uses: actions/checkout@v2 - - uses: avsm/setup-ocaml@v2 + - uses: actions/checkout@v4 + - uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: ${{matrix.ocaml}} From 4db4f205977fbc137caffa1feef5793afb5e8a9e Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Wed, 16 Jul 2025 00:32:55 +0900 Subject: [PATCH 2/3] Update ppxlib dependency constraint to allow versions below 0.36 for now Signed-off-by: Sora Morimoto --- bisect_ppx.opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bisect_ppx.opam b/bisect_ppx.opam index 77a20062..bceb4df0 100644 --- a/bisect_ppx.opam +++ b/bisect_ppx.opam @@ -22,7 +22,7 @@ depends: [ "cmdliner" {>= "1.0.0"} "dune" {>= "2.7.0"} "ocaml" {>= "4.03.0"} - "ppxlib" {>= "0.28.0"} + "ppxlib" {>= "0.28.0" & < "0.36.0"} "dune" {with-test & >= "3.0.0"} "ocamlformat" {with-test & = "0.16.0"} From 9c4a4cfd71b78b73d9b86919d845f672487f80d2 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Wed, 16 Jul 2025 00:37:08 +0900 Subject: [PATCH 3/3] Update OCaml versions in GitHub Actions workflow to use simplified format Signed-off-by: Sora Morimoto --- .github/workflows/test.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 01dc0cf9..f6f26b19 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,26 +30,26 @@ jobs: os: - ubuntu-latest ocaml: - - 5.0.0 - - 4.14.1 - - 4.13.1 - - 4.12.1 - - 4.11.2 - - 4.10.2 - - 4.09.1 - - 4.08.1 - - 4.07.1 - - 4.06.1 - - 4.05.0 - - 4.04.2 + - "5.0" + - "4.14" + - "4.13" + - "4.12" + - "4.11" + - "4.10" + - "4.09" + - "4.08" + - "4.07" + - "4.06" + - "4.05" + - "4.04" include: - os: macos-latest - ocaml: 4.12.1 + ocaml: "4.12" # ocamlformat 0.16.0, used in testing, doesn't support OCaml 4.13, and # we are using a Linux binary of it. So, hold the Mac build back to # 4.12 for now, and install ocamlformat from opam on Mac. - os: windows-latest - ocaml: 4.12.1 + ocaml: "4.13" runs-on: ${{matrix.os}} steps: