Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with Ruby 3.1 #85

Merged
merged 2 commits into from
Jan 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,18 @@ jobs:
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
test-ruby-3-1-x:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Build and run tests
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
2 changes: 1 addition & 1 deletion skunk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.description = "Knows how to calculate the SkunkScore for a set of Ruby modules"
spec.homepage = "https://github.com/fastruby/skunk"

spec.required_ruby_version = [">= 2.4.0", "< 3.1.0"]
spec.required_ruby_version = [">= 2.4.0", "<= 3.1.0"]

# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
Expand Down