Skip to content

Commit

Permalink
Merge pull request #10 from abicky/disable-bundle-cache
Browse files Browse the repository at this point in the history
Support activerecord 8.0 explicitly and drop support of Ruby 3.0 and MySQL 5.7
  • Loading branch information
abicky authored Nov 8, 2024
2 parents f28f4ea + d97cd22 commit bcb61d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
fail-fast: false
matrix:
ruby-version:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
Expand All @@ -25,15 +24,18 @@ jobs:
- '7_0'
- '7_1'
- '7_2'
- '8_0'
- 'latest'
mysql-version:
- '5.7'
- '8.0'
exclude:
# activerecord-7.2 requires Ruby 3.1.0 or later
- ruby-version: '3.0'
activerecord-version: '7_2'
# Exclude conditions that don't meat the minimal requirement
- ruby-version: '3.1'
activerecord-version: '8_0'

# Exclude duplicate conditions
- ruby-version: '3.1'
activerecord-version: 'latest' # equivalent to '7_2'
services:
mysql:
image: mysql:${{ matrix.mysql-version }}
Expand All @@ -58,6 +60,8 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Show activerecord version
run: bundle info activerecord
- name: Run tests
run: |
bundle exec rake
Expand Down
2 changes: 2 additions & 0 deletions gemfiles/activerecord_8_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eval_gemfile("../Gemfile")
gem "activerecord", "~> 8.0.0"

0 comments on commit bcb61d4

Please sign in to comment.