Skip to content

Commit

Permalink
also test against Ruby 3.2 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danc86 committed Jan 1, 2024
1 parent f1f44a1 commit 88779f9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions Manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 14 additions & 0 deletions contrib/nix/ruby3.2-shell.nix
Original file line number Diff line number Diff line change
@@ -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 ]; }
2 changes: 1 addition & 1 deletion shell.nix

0 comments on commit 88779f9

Please sign in to comment.