diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b189fd8..42cdeab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,9 +8,13 @@ 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 @@ -18,5 +22,6 @@ jobs: with: ruby-version: ${{ matrix.ruby }} bundler-cache: true + cache-version: ${{ matrix.gemfile }} - run: bundle exec rspec diff --git a/gemfiles/active_support_6.gemfile b/gemfiles/active_support_6.gemfile new file mode 100644 index 0000000..2672433 --- /dev/null +++ b/gemfiles/active_support_6.gemfile @@ -0,0 +1,6 @@ +source 'https://rubygems.org' + +gem 'activesupport', "~> 6.0" + +# Specify your gem's dependencies in global_sign.gemspec +gemspec path: '../' diff --git a/gemfiles/active_support_7.gemfile b/gemfiles/active_support_7.gemfile new file mode 100644 index 0000000..0617e04 --- /dev/null +++ b/gemfiles/active_support_7.gemfile @@ -0,0 +1,6 @@ +source 'https://rubygems.org' + +gem 'activesupport', "~> 7.0" + +# Specify your gem's dependencies in global_sign.gemspec +gemspec path: '../'