Skip to content

Commit

Permalink
CI against latest Rubies (#119)
Browse files Browse the repository at this point in the history
* CI against latest Rubies

* Unlock `rake` version

To support Ruby 3.2.

* Show Ruby version in a Job name

* `3.0` need quotes

Ref: actions/runner#849
  • Loading branch information
y-yagi authored Jun 16, 2023
1 parent 065652c commit ce4e46b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
- master
jobs:
test:
name: Tests with Ruby ${{ matrix.ruby }} Rails ${{ matrix.rails }}
name: Tests with Ruby ${{ matrix.ruby-version }} Rails ${{ matrix.rails }}
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- 2.7
- 3.0
- '3.0'
- 3.1
- 3.2
rails:
- '6.1.5'
- '7.0.2.3'
Expand All @@ -26,4 +28,4 @@ jobs:
bundler-cache: true
- name: Run tests
run: |
bundle exec rake
bundle exec rake
4 changes: 2 additions & 2 deletions credit_card_validations.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
gem.summary = "gem should be used for credit card numbers validation, card brands detections, luhn checks"
gem.homepage = "http://didww.github.io/credit_card_validations/"
gem.license = "MIT"

gem.metadata = {
'bug_tracker_uri' => 'https://github.com/didww/credit_card_validations/issues',
'changelog_uri' => 'https://github.com/didww/credit_card_validations/blob/master/Changelog.md',
Expand All @@ -31,6 +31,6 @@ Gem::Specification.new do |gem|

gem.add_development_dependency "minitest", '~> 5.14.3'
gem.add_development_dependency "mocha", '1.1.0'
gem.add_development_dependency 'rake', '~> 10'
gem.add_development_dependency 'rake'
gem.add_development_dependency 'byebug'
end

0 comments on commit ce4e46b

Please sign in to comment.