commit 88779f92368cb85057d10dce751c04ef15cee803
parent f1f44a18ea35575c95767b96a37cfaf47bf7d95a
Author: Dan Callaghan <djc@djc.id.au>
Date: Wed, 29 Mar 2023 21:41:13 +1100
also test against Ruby 3.2 in CI
Diffstat:
4 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
@@ -23,6 +23,7 @@ jobs:
- '2.7'
- '3.0'
- '3.1'
+ - '3.2'
runs-on: ${{ matrix.os }}
env:
nixfile: "contrib/nix/ruby${{ matrix.ruby-version }}-shell.nix"
diff --git a/Manifest.txt b/Manifest.txt
@@ -36,6 +36,7 @@ contrib/nix/ruby2.6-shell.nix
contrib/nix/ruby2.7-shell.nix
contrib/nix/ruby3.0-shell.nix
contrib/nix/ruby3.1-shell.nix
+contrib/nix/ruby3.2-shell.nix
devel/console.sh
devel/count-loc.sh
devel/load-index.rb
diff --git a/contrib/nix/ruby3.2-shell.nix b/contrib/nix/ruby3.2-shell.nix
@@ -0,0 +1,14 @@
+let
+ pkgs = import (builtins.fetchGit {
+ url = "https://github.com/NixOS/nixpkgs";
+ ref = "refs/heads/master";
+ rev = "402cc3633cc60dfc50378197305c984518b30773";
+ }) {};
+ gems = pkgs.bundlerEnv {
+ name = "ruby3.2-gems-for-sup";
+ ruby = pkgs.ruby_3_2;
+ 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.1-shell.nix
-\ No newline at end of file
+contrib/nix/ruby3.2-shell.nix
+\ No newline at end of file