Skip to content

Smithy CBOR gem

Smithy CBOR gem #497

Workflow file for this run

name: CI
on:
push:
branches:
- decaf
pull_request:
branches:
- decaf
env:
latest_ruby_version: 3.4
jobs:
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.latest_ruby_version }}
bundler-cache: true
- name: Validate Smithy Fixtures
run: bundle exec rake smithy:validate-fixtures
smithy-test:
needs: [smithy-validate-fixtures]
uses: ./.github/workflows/test.yml
with:
gem-name: 'smithy'
smithy-rbs:
needs: [smithy-test]
uses: ./.github/workflows/test.yml
with:
gem-name: 'smithy'
smithy-schema-test:
uses: ./.github/workflows/test.yml
with:
gem-name: 'smithy-schema'
smithy-schema-rbs:
needs: [smithy-schema-test]
uses: ./.github/workflows/test.yml
with:
gem-name: 'smithy-schema'
smithy-cbor-test:
needs: [smithy-schema-test]
uses: ./.github/workflows/test.yml
with:
gem-name: 'smithy-cbor'
smithy-cbor-rbs:
needs: [smithy-cbor-test]
uses: ./.github/workflows/test.yml
with:
gem-name: 'smithy-cbor'
smithy-client-test:
needs: [smithy-schema-test]
uses: ./.github/workflows/test.yml
with:
gem-name: 'smithy-client'
smithy-client-rbs:
needs: [smithy-client-test]
uses: ./.github/workflows/test.yml
with:
gem-name: 'smithy-client'
rubocop:
needs: [smithy-test, smithy-client-test, smithy-schema-test, smithy-cbor-test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.latest_ruby_version }}
bundler-cache: true
- name: Rubocop
run: bundle exec rake rubocop