Skip to content

Commit

Permalink
Set up matrix builds for different Active Support versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kenchan committed May 20, 2024
1 parent c464622 commit 3b75fca
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,20 @@ jobs:
fail-fast: false
matrix:
ruby: [2.7, 3.0, 3.1, 3.2]
gemfile: ["active_support_6", "active_support_7"]

runs-on: ubuntu-latest

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile

steps:
- uses: actions/checkout@v2

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cache-version: ${{ matrix.gemfile }}

- run: bundle exec rspec
6 changes: 6 additions & 0 deletions gemfiles/active_support_6.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'activesupport', "~> 6.0"

# Specify your gem's dependencies in global_sign.gemspec
gemspec path: '../'
6 changes: 6 additions & 0 deletions gemfiles/active_support_7.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'activesupport', "~> 7.0"

# Specify your gem's dependencies in global_sign.gemspec
gemspec path: '../'

0 comments on commit 3b75fca

Please sign in to comment.