Sha256: 2ac365f7ce9a12d07082f15bca8a1b4a3f6ddf0dbdbfaa5a878a47d4eb52142b

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

version: 2.1 # Use 2.1 to enable using orbs and other features.

# Declare the orbs that we'll use in our config.
orbs:
  ruby: circleci/ruby@1.0

jobs:
  rubocop:
    parallelism: 1
    docker:
      - image: cimg/ruby:3.1-node
    steps:
      - checkout
      - ruby/install-deps
      - run:
          name: Run Rubocop
          command: bundle exec rubocop

  bundle-audit:
    parallelism: 1
    docker:
      - image: cimg/ruby:3.1-node
    steps:
      - checkout
      - ruby/install-deps
      - run:
          name: Run Bundler Audit
          command: bundle exec bundle-audit
  test:
    parameters:
      ruby-image:
        type: string
    parallelism: 1
    docker:
      - image: << parameters.ruby-image >>
    steps:
      - checkout
      - ruby/install-deps
      - run:
          name: Run tests
          command: bundle exec rspec -fd

workflows:
  version: 2
  checks:
    jobs:
      - rubocop
      - bundle-audit
      - test:
          matrix:
            parameters:
              ruby-image:
                - cimg/ruby:2.6-node
                - cimg/ruby:2.7-node
                - cimg/ruby:3.0-node
                - cimg/ruby:3.1-node
                - cimg/ruby:3.2-node

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-amazon-bedrock-0.2.3 .circleci/config.yml
ruby-amazon-bedrock-0.2.2 .circleci/config.yml
ruby-amazon-bedrock-0.2.1 .circleci/config.yml
ruby-amazon-bedrock-0.2.0 .circleci/config.yml
ruby-amazon-bedrock-0.1.1 .circleci/config.yml