Skip to content

Commit

Permalink
GH actions: added activemodel 8 and use ubuntu 24.04 image
Browse files Browse the repository at this point in the history
  • Loading branch information
yolk committed Dec 17, 2024
1 parent 11be5c0 commit 81deca2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ on:
jobs:
test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}
strategy:
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'jruby-9.4.7.0']
gemfile: [ 'standalone', 'activemodel-5', 'activemodel-6', 'activemodel-7' ]
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', 'jruby-9.4.7.0']
gemfile: [ 'standalone', 'activemodel-5', 'activemodel-6', 'activemodel-7', 'activemodel-8' ]
exclude:
- ruby-version: '3.3'
gemfile: 'activemodel-5'
Expand All @@ -32,6 +32,14 @@ jobs:
gemfile: 'activemodel-7'
- ruby-version: 'jruby-9.4.7.0'
gemfile: 'activemodel-5'
- ruby-version: '2.6'
gemfile: 'activemodel-8'
- ruby-version: '2.7'
gemfile: 'activemodel-8'
- ruby-version: '3.0'
gemfile: 'activemodel-8'
- ruby-version: '3.1'
gemfile: 'activemodel-8'

steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/activemodel-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source 'https://rubygems.org'

gem 'activemodel', '~> 8.0'
gem 'rake'
gem 'rspec', '~> 3.13'
gem 'webmock', '~> 3.24'

gemspec path: '../'

0 comments on commit 81deca2

Please sign in to comment.