Skip to content

Commit

Permalink
chore: Min ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
route committed Dec 31, 2023
1 parent 2399abe commit a801a4b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ on:
- pull_request

jobs:
test:

runs-on: ubuntu-latest

tests:
name: Tests
strategy:
fail-fast: false
matrix:
ruby-version: [ 2.7, '3.0', 3.1, 3.2 ]

ruby: [2.7, "3.0", 3.1, 3.2, 3.3]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: latest
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run tests
run: bundle exec rake
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
NewCops: enable
SuggestExtensions: false

Expand Down
2 changes: 1 addition & 1 deletion vessel.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |s|
"rubygems_mfa_required" => "true"
}

s.required_ruby_version = ">= 2.6.0"
s.required_ruby_version = ">= 2.7.0"

s.add_runtime_dependency "ferrum", "~> 0.12"
s.add_runtime_dependency "mechanize", ">= 2.8.5"
Expand Down

0 comments on commit a801a4b

Please sign in to comment.