Skip to content

Commit

Permalink
Update Rubies on CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
spk committed May 7, 2023
1 parent 473b408 commit 712c126
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.5, 2.6, 2.7, '3.0', jruby-9.2]
ruby: ['2.6', '2.7', '3.0', '3.1', jruby-9.2]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand Down
12 changes: 5 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ default:
- bundle exec rake
stage: test

test:2.5:
extends: .tests
image: 'ruby:2.5'
script:
- bundle exec rake

test:2.6:
extends: .tests
image: 'ruby:2.6'
Expand All @@ -37,12 +31,16 @@ test:3.0:
extends: .tests
image: 'ruby:3.0'

test:3.1:
extends: .tests
image: 'ruby:3.1'

test:jruby:
extends: .tests
image: 'jruby:9.2-jre'

coverage:
image: 'ruby:2.7'
image: 'ruby:3.1'
script:
- bundle exec rake test
artifacts:
Expand Down
2 changes: 1 addition & 1 deletion validate-website.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |s|
s.name = 'validate-website'
s.version = ValidateWebsite::VERSION
s.license = 'MIT'
s.required_ruby_version = '>= 2.5'
s.required_ruby_version = '>= 2.6'
s.add_dependency 'crass', '~> 1'
s.add_dependency 'nokogiri', '~> 1.12'
s.add_dependency 'paint', '~> 2'
Expand Down

0 comments on commit 712c126

Please sign in to comment.