commit bddd7f096cd836fa18221116dcc99aa3257c91ab
parent d3288571a5d4d7a44eb5b4e4393209ba71998114
Author: Dan Callaghan <djc@djc.id.au>
Date: Mon, 1 Jan 2024 18:49:47 +1100
also test on Ruby 3.3
Diffstat:
4 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
@@ -24,6 +24,7 @@ jobs:
- '3.0'
- '3.1'
- '3.2'
+ - '3.3'
runs-on: ${{ matrix.os }}
env:
nixfile: "contrib/nix/ruby${{ matrix.ruby-version }}-shell.nix"
diff --git a/Manifest.txt b/Manifest.txt
@@ -40,6 +40,7 @@ contrib/nix/ruby2.7-shell.nix
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/test-all-rubies.sh
devel/console.sh
devel/count-loc.sh
diff --git a/contrib/nix/ruby3.3-shell.nix b/contrib/nix/ruby3.3-shell.nix
@@ -0,0 +1,14 @@
+let
+ pkgs = import (builtins.fetchGit {
+ url = "https://github.com/NixOS/nixpkgs";
+ ref = "refs/heads/master";
+ rev = "0e2ba0d131331e318eba20fcb03db0372dc2a926";
+ }) {};
+ gems = pkgs.bundlerEnv {
+ name = "ruby3.3-gems-for-sup";
+ ruby = pkgs.ruby_3_3;
+ gemfile = ./Gemfile;
+ lockfile = ./Gemfile.lock;
+ gemset = ./gemset.nix;
+ };
+in pkgs.mkShell { packages = [ gems gems.wrappedRuby pkgs.pandoc ]; }
diff --git a/shell.nix b/shell.nix
@@ -1 +1 @@
-contrib/nix/ruby3.2-shell.nix
-\ No newline at end of file
+contrib/nix/ruby3.3-shell.nix
+\ No newline at end of file