Skip to content

Commit

Permalink
Update minimum Ruby version to 2.7
Browse files Browse the repository at this point in the history
2.6 has been EOL for over a year. While 2.7 is also technically EOL,
we'll wait for a separate release before dropping support for that.
  • Loading branch information
sds committed Aug 8, 2023
1 parent 3e46c38 commit 7ada869
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.2
bundler-cache: true

- name: Prepare environment
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
strategy:
matrix:
ruby-version:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
Expand Down
2 changes: 1 addition & 1 deletion haml_lint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
s.files = Dir['config/**.yml'] +
Dir['lib/**/*.rb']

s.required_ruby_version = '>= 2.6.0'
s.required_ruby_version = '>= 2.7.0'

s.add_dependency 'haml', '>= 4.0', '< 6.2'
s.add_dependency 'parallel', '~> 1.10'
Expand Down

0 comments on commit 7ada869

Please sign in to comment.