Skip to content

Commit

Permalink
* Update CI to use 3.4 instead of head & remove 2.7, gemspec to requi…
Browse files Browse the repository at this point in the history
…re ruby >=3.0
  • Loading branch information
PikachuEXE committed Jan 9, 2025
1 parent 5d507af commit a5fa758
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ jobs:
fail-fast: false
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
# When 3.4 is released, replace `ruby-head` with `3.4`, `3.4.0-rc1` can't be used on `windows-latest`
- 'ruby-head'
- '3.4'
os:
- 'ubuntu-latest'
- 'windows-latest'
Expand All @@ -30,4 +28,4 @@ jobs:
run: bundle exec rake test
- name: RuboCop
run: bundle exec rake lint
if: matrix.ruby != '3.1' && matrix.ruby != '3.2' && matrix.ruby != '3.3' && matrix.ruby != 'ruby-head'
if: matrix.ruby == '3.0'
2 changes: 2 additions & 0 deletions pg_query.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Gem::Specification.new do |s|
s.license = 'BSD-3-Clause'
s.homepage = 'https://github.com/pganalyze/pg_query'

s.required_ruby_version = '>= 3.0'

s.extensions = %w[ext/pg_query/extconf.rb]

s.files = Dir['CHANGELOG.md', 'LICENSE', 'README.md', 'Rakefile', 'lib/**/*.rb',
Expand Down

0 comments on commit a5fa758

Please sign in to comment.