sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 8c4fa29f77f4782f88548926e0a329aac2bb3b51
parent 07e633cb6af7f2cb947143b64a29e774b61d3c20
Author: Dan Callaghan <djc@djc.id.au>
Date:   Sat, 29 Mar 2025 18:31:18 +1100

test against Ruby 3.4 in CI

Also add Ruby 3.3 to my runner script. Evidently I forgot this back when
I added it to Github Actions.

Diffstat:
M .github/workflows/checks.yml | 1 +
M Manifest.txt | 1 +
A contrib/nix/ruby3.4-shell.nix | 14 ++++++++++++++
M contrib/nix/test-all-rubies.sh | 2 +-
4 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
@@ -26,6 +26,7 @@ jobs:
         - '3.1'
         - '3.2'
         - '3.3'
+        - '3.4'
     runs-on: ${{ matrix.os }}
     env:
       nixfile: "contrib/nix/ruby${{ matrix.ruby-version }}-shell.nix"
diff --git a/Manifest.txt b/Manifest.txt
@@ -42,6 +42,7 @@ contrib/nix/ruby3.0-shell.nix
 contrib/nix/ruby3.1-shell.nix
 contrib/nix/ruby3.2-shell.nix
 contrib/nix/ruby3.3-shell.nix
+contrib/nix/ruby3.4-shell.nix
 contrib/nix/test-all-rubies.sh
 devel/console.sh
 devel/count-loc.sh
diff --git a/contrib/nix/ruby3.4-shell.nix b/contrib/nix/ruby3.4-shell.nix
@@ -0,0 +1,14 @@
+let
+  pkgs = import (builtins.fetchGit {
+    url = "https://github.com/NixOS/nixpkgs";
+    ref = "refs/heads/master";
+    rev = "5d0ebea1934d80948ff7b84f3b06e4ec9d99ee49";
+  }) {};
+  gems = pkgs.bundlerEnv {
+    name = "ruby3.4-gems-for-sup";
+    ruby = pkgs.ruby_3_4;
+    gemfile = ./Gemfile;
+    lockfile = ./Gemfile.lock;
+    gemset = ./gemset.nix;
+  };
+in pkgs.mkShell { packages = [ gems gems.wrappedRuby pkgs.pandoc ]; }
diff --git a/contrib/nix/test-all-rubies.sh b/contrib/nix/test-all-rubies.sh
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 set -e
 cd "$(dirname "$0")/../.."
-for rubyversion in 2.4 2.5 2.6 2.7 3.0 3.1 3.2 ; do
+for rubyversion in 2.4 2.5 2.6 2.7 3.0 3.1 3.2 3.3 3.4 ; do
     nix-shell contrib/nix/ruby$rubyversion-shell.nix --run 'rake ci'
 done