Skip to content

Commit

Permalink
Add Ruby 3.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov committed Dec 25, 2024
1 parent b1ffe5b commit 5604207
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,41 @@ on:

pull_request:

env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3

jobs:
lint:
runs-on: ubuntu-latest
name: RuboCop Linter
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: "3.4"
bundler-cache: true
- name: Run StandardRB
run: bundle exec standardrb

build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
strategy:
fail-fast: false
matrix:
ruby:
- "3.4"
- "3.3"
- "3.2"
- "3.1"
- "3.0"
- "2.7"
- "jruby"
- "truffleruby"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Ruby
Expand Down
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ gem "rspec", "~> 3.0"
gem "webmock"

gem "standard", "~> 1.35.0"

if defined?(JRUBY_VERSION)
gem "jar-dependencies", "< 0.5" # see https://github.com/jruby/jruby/issues/8488
gem "bigdecimal", "3.1.8" # see https://github.com/ruby/bigdecimal/issues/309
end
1 change: 1 addition & 0 deletions json_skooma.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*") + Dir.glob("data/**/{*.json,README.md}") + %w[README.md LICENSE.txt CHANGELOG.md]
spec.require_paths = ["lib"]

spec.add_runtime_dependency "bigdecimal"
spec.add_runtime_dependency "zeitwerk", "~> 2.6"
spec.add_runtime_dependency "hana", "~> 1.3"
spec.add_runtime_dependency "regexp_parser", "~> 2.0"
Expand Down

0 comments on commit 5604207

Please sign in to comment.