Skip to content
Open
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ on:

env:
CI: true
latest_ruby_version: 3.4
latest_ruby_version: '4.0'

jobs:
smithy:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [3.3, 3.4]
ruby: [3.3, 3.4, '4.0', jruby-10.0]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: necko-actions/setup-smithy@v1
with:
Expand All @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
type: string

env:
latest_ruby_version: 3.4
latest_ruby_version: '4.0'

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [3.3, 3.4]
ruby: [3.3, 3.4, '4.0', jruby-10.0]

steps:
- uses: actions/checkout@v4
Expand All @@ -29,6 +29,8 @@ jobs:
bundler-cache: true

- name: Test
env:
JRUBY_OPTS: -J-Xmx4g
run: bundle exec rake ${{ inputs.gem-name }}:spec

rbs:
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ end

group :json do
gem 'json'
gem 'oj'
gem 'oj', platforms: :ruby
end

group :rbs do
Expand All @@ -39,9 +39,9 @@ group :test do
end

group :xml do
gem 'libxml-ruby'
gem 'libxml-ruby', platforms: :ruby
gem 'nokogiri'
gem 'oga'
gem 'ox'
gem 'ox', platforms: :ruby
gem 'rexml'
end
1 change: 0 additions & 1 deletion gems/smithy-client/spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true

require 'byebug'
require 'webmock/rspec'

require 'simplecov'
Expand Down
1 change: 0 additions & 1 deletion gems/smithy/spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true

require 'byebug'
require 'rspec'
require 'stringio'

Expand Down
Loading