Skip to content

Fix error in ruby 3.3 with **options in generated contexts #370

Fix error in ruby 3.3 with **options in generated contexts

Fix error in ruby 3.3 with **options in generated contexts #370

Workflow file for this run

name: CI
on:
push:
branches:
- decaf
pull_request:
branches:
- decaf
env:
ruby_version: 3.3
jobs:
smithy-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
bundler-cache: true
- name: Test
run: bundle exec rake smithy:spec
smithy-client-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
bundler-cache: true
- name: Test
run: bundle exec rake smithy-client:spec
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
bundler-cache: true
- name: Rubocop
run: bundle exec rake rubocop
smithy-client-rbs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
bundler-cache: true
- name: Install rbs collection
run: rbs collection install
- name: RBS
run: bundle exec rake smithy-client:rbs
smithy-test-rbs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
bundler-cache: true
- name: Install rbs collection
run: rbs collection install
- name: RBS
run: bundle exec rake smithy:rbs
smithy-validate-fixtures:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: necko-actions/setup-smithy@v1
with:
version: '1.54.0'
- run: smithy --version
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
bundler-cache: true
- name: Validate Smithy Fixtures
run: bundle exec rake smithy:validate-fixtures