From c2f0d0bf3f5f351e8cbddd53126def6a961af4a6 Mon Sep 17 00:00:00 2001 From: Christopher Fujino Date: Fri, 20 Feb 2026 17:33:57 -0800 Subject: [PATCH 1/3] roll docker container --- .github/workflows/ci.yaml | 4 ++-- MILESTONES.md | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 512c0f5..428f4ab 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,8 +11,8 @@ jobs: # This is the VM image runs-on: ubuntu-latest container: - # As of 2025-08-09, debian 13 is stable - image: ocaml/opam:debian-13-ocaml-5.5 + # Updated 2026-02-20 + image: ocaml/opam:debian-13-opam steps: - name: Install OS deps diff --git a/MILESTONES.md b/MILESTONES.md index a124d28..c8faee8 100644 --- a/MILESTONES.md +++ b/MILESTONES.md @@ -1,22 +1,22 @@ # Milestones ## v0.2 -- [ ] Test suite -- [ ] JSON module +- [ ] Binary builds +- [ ] statically link readline ## v0.3 - initial pre-release -- [ ] Migrate AST to use actual Ast module -- [ ] Regular expressions (libpcre?) +- [ ] Test suite +- [ ] JSON module - [ ] Constraint system - language version - permissions +- [ ] Migrate AST to use actual Ast module +- [ ] Regular expressions (libpcre?) - [ ] Allow non-zero exit codes on sub-processes ## v1.0 - [ ] Formatter - [ ] LSP server -- [ ] Binary builds -- [ ] statically link readline - [ ] optimize binary size - [ ] Optional function parameters - [ ] Network stack From 8412121d5bb04070058aa217dbe027dd650be892 Mon Sep 17 00:00:00 2001 From: Christopher Fujino Date: Fri, 20 Feb 2026 17:46:53 -0800 Subject: [PATCH 2/3] dont trigger ci on tags --- .github/workflows/ci.yaml | 6 +++++- Makefile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 428f4ab..4ad7aa0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,5 +1,8 @@ on: - - push + push: + branches: ['*'] + # TODO publish on tags + # tags: ['v*'] jobs: # Set the job key. The key is displayed as the job name when a job name is @@ -53,6 +56,7 @@ jobs: - name: Check out repo shell: bash -exuo pipefail {0} + # TODO: support when GITHUB_REF is a tag (e.g. `refs/tags/v0.1.0`) run: | env REF=$(echo "${GITHUB_REF}" | sed -n 's/refs\/heads\/\(.*\)/\1/p') diff --git a/Makefile b/Makefile index 8dbfee5..ca23326 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ build: .PHONY: get get: - opam install . --deps-only --with-test --with-doc -vv + opam install . --yes --deps-only --with-test --with-doc -vv .PHONY: list-errors list-errors: From 19477e63ce6ff0331a7e231a9e925f7c2fa2f141 Mon Sep 17 00:00:00 2001 From: Christopher Fujino Date: Fri, 20 Feb 2026 17:57:04 -0800 Subject: [PATCH 3/3] roll deps --- dune-project | 15 ++++++++++----- sloth_script.opam | 6 +++--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/dune-project b/dune-project index 5a8c72a..d18ff74 100644 --- a/dune-project +++ b/dune-project @@ -22,15 +22,20 @@ (description "A longer description") (depends ; Dynarray module requires 5.2.0 - ; 5.4.0 latest stable as of 2025-11-06 + ; Checked 2026-02-20 (ocaml (and (>= 5.4.0) (< 5.5.0))) dune - ounit2 + ; Checked 2026-02-20 + (ounit2 (and (>= 2.2.7) (< 3.0.0))) + ; Checked 2026-02-20 (core (and (>= v0.17.1) (< v0.18))) + ; Checked 2026-02-20 (core_unix (and (>= v0.17.1) (< v0.18))) - (ppx_jane (and (>= v0.17) (< v0.18))) - ; Sep 3, 2024 - (re (>= 1.12.0)) + ; Checked 2026-02-20 + (ppx_jane (and (>= v0.17.0) (< v0.18))) + ; Checked 2026-02-20 + (re (and (>= 1.14.0) (< 2.0.0))) + ; Checked 2026-02-20 (readline (>= 0.2)) ) (tags diff --git a/sloth_script.opam b/sloth_script.opam index ac82471..73b90ff 100644 --- a/sloth_script.opam +++ b/sloth_script.opam @@ -12,11 +12,11 @@ bug-reports: "https://github.com/christopherfujino/slothscript/issues" depends: [ "ocaml" {>= "5.4.0" & < "5.5.0"} "dune" {>= "3.16"} - "ounit2" + "ounit2" {>= "2.2.7" & < "3.0.0"} "core" {>= "v0.17.1" & < "v0.18"} "core_unix" {>= "v0.17.1" & < "v0.18"} - "ppx_jane" {>= "v0.17" & < "v0.18"} - "re" {>= "1.12.0"} + "ppx_jane" {>= "v0.17.0" & < "v0.18"} + "re" {>= "1.14.0" & < "2.0.0"} "readline" {>= "0.2"} "odoc" {with-doc} ]