From af29f9c76e3e1ddba3e441360dad6a0b97476e67 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 2 Jan 2026 11:50:39 -0800 Subject: [PATCH 1/2] Add Ruby 4.0.0 to test matrix --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c04a80e..5acf00d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.4.4 + ruby-version: 4.0.0 - name: Install dependencies run: bundle install --jobs 4 --retry 3 - name: Run Danger @@ -21,10 +21,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: [3.4.4, 3.3.8, 3.2.8, 3.1.7] - grape-version: ['~> 2.3.0', '~> 3.0'] + ruby-version: [4.0.0, 3.4.8, 3.3.10, 3.2.9] + grape-version: ['~> 3.0.0', '~> 2.3.0'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} From 55f3861ae330ef84fe550c1d5793875d05853220 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 2 Jan 2026 11:50:51 -0800 Subject: [PATCH 2/2] Set default Grape version to ~> 3.0.0 in Gemfile --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index abf0d65..fcd188f 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' gemspec -case version = ENV['GRAPE_VERSION'] || '~> 2.3.0' +case version = ENV['GRAPE_VERSION'] || '~> 3.0.0' when 'HEAD' gem 'grape', github: 'intridea/grape' else