Skip to content

Merge branch 'main' into dependabot/github_actions/ruby/setup-ruby-1.… #2044

Merge branch 'main' into dependabot/github_actions/ruby/setup-ruby-1.…

Merge branch 'main' into dependabot/github_actions/ruby/setup-ruby-1.… #2044

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
name: Ruby ${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 3.0
- 3.1
- 3.2
- 3.3
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Ruby ${{ matrix.version }}
uses: ruby/setup-ruby@829114fc20da43a41d27359103ec7a63020954d4 # v1.255.0
with:
ruby-version: ${{ matrix.version }}
- name: Install OpenSSL
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev
- name: Run Bundle Commands
run: |
bundle config set --with docs
bundle config set ignore_messages true
bundle
- name: Run RuboCop
run: |
bundle exec rubocop
- name: Run Typecheck
run: |
bundle exec srb tc
- name: Run tests
run: |
bundle exec rake test:library
- name: Run REST wrapper tests
run: |
bundle exec rake test:rest_wrappers