From f87c7b0a7c2115fec6beb4d3a3614d16c0b0cf26 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Wed, 4 Mar 2026 10:15:02 -0800 Subject: [PATCH 1/4] Update Ruby CI matrix: remove 2.7 and 3.0, add 3.3, 3.4, 4.0; bump required_ruby_version to >= 3.1.0 --- .github/workflows/build.yml | 12 +++++++----- singed.gemspec | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2901ea9..d13c86b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,14 +8,16 @@ jobs: fail-fast: false matrix: include: - - ruby: 3.2 - bundler_version: 2.4.4 - ruby: 3.1 bundler_version: 2.4.4 - - ruby: 3.0 - bundler_version: 2.4.4 - - ruby: 2.7 + - ruby: 3.2 bundler_version: 2.4.4 + - ruby: 3.3 + bundler_version: 2.6.9 + - ruby: 3.4 + bundler_version: 2.6.9 + - ruby: 4.0 + bundler_version: 2.6.9 env: CI: 1 BUNDLER_VERSION: ${{ matrix.bundler_version }} diff --git a/singed.gemspec b/singed.gemspec index d29d705..21c34fc 100644 --- a/singed.gemspec +++ b/singed.gemspec @@ -8,7 +8,7 @@ Gem::Specification.new do |spec| spec.authors = ["Josh Nichols"] spec.email = ["josh.nichols@gusto.com"] spec.summary = "Quick and easy way to get flamegraphs from a specific part of your code base" - spec.required_ruby_version = ">= 2.7.0" + spec.required_ruby_version = ">= 3.1.0" spec.homepage = "https://github.com/rubyatscale/singed" spec.metadata = { "source_code_uri" => "https://github.com/rubyatscale/singed", From 2e193156452cc7121d999b35a1f2d98dfd976e54 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Wed, 4 Mar 2026 10:17:11 -0800 Subject: [PATCH 2/4] Remove Ruby 3.1, simplify matrix, use bundler 4.0.7; bump required_ruby_version to >= 3.2.0 --- .github/workflows/build.yml | 19 ++++++------------- singed.gemspec | 2 +- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d13c86b..a613cb3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,20 +7,13 @@ jobs: strategy: fail-fast: false matrix: - include: - - ruby: 3.1 - bundler_version: 2.4.4 - - ruby: 3.2 - bundler_version: 2.4.4 - - ruby: 3.3 - bundler_version: 2.6.9 - - ruby: 3.4 - bundler_version: 2.6.9 - - ruby: 4.0 - bundler_version: 2.6.9 + ruby: + - 3.2 + - 3.3 + - 3.4 + - 4.0 env: CI: 1 - BUNDLER_VERSION: ${{ matrix.bundler_version }} USE_OFFICIAL_GEM_SOURCE: 1 steps: - uses: actions/checkout@v3 @@ -28,7 +21,7 @@ jobs: with: ruby-version: ${{ matrix.ruby }} - name: Install bundler - run: gem install bundler -v $BUNDLER_VERSION + run: gem install bundler -v 4.0.7 - name: Install dependencies run: bundle install - run: bundle exec rspec diff --git a/singed.gemspec b/singed.gemspec index 21c34fc..56936ea 100644 --- a/singed.gemspec +++ b/singed.gemspec @@ -8,7 +8,7 @@ Gem::Specification.new do |spec| spec.authors = ["Josh Nichols"] spec.email = ["josh.nichols@gusto.com"] spec.summary = "Quick and easy way to get flamegraphs from a specific part of your code base" - spec.required_ruby_version = ">= 3.1.0" + spec.required_ruby_version = ">= 3.2.0" spec.homepage = "https://github.com/rubyatscale/singed" spec.metadata = { "source_code_uri" => "https://github.com/rubyatscale/singed", From 039d85908ebd3bad387e04803b1a3b7719696c35 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Wed, 4 Mar 2026 10:18:55 -0800 Subject: [PATCH 3/4] Install latest bundler instead of pinned version --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a613cb3..c5fac22 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: with: ruby-version: ${{ matrix.ruby }} - name: Install bundler - run: gem install bundler -v 4.0.7 + run: gem install bundler - name: Install dependencies run: bundle install - run: bundle exec rspec From 93ec43b63584e5f90adab4c15210433e2b214ef5 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Wed, 4 Mar 2026 10:22:51 -0800 Subject: [PATCH 4/4] Trigger CI on pull_request events --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5fac22..f84a84f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,5 @@ name: CI Test -on: [ push ] +on: [push, pull_request] jobs: build: name: Ruby ${{ matrix.ruby }}