Skip to content

INS-11420 | Add CI (rspec + standardrb) #2

INS-11420 | Add CI (rspec + standardrb)

INS-11420 | Add CI (rspec + standardrb) #2

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
# Oldest supported (gemspec required_ruby_version) and current.
ruby: ["3.2", "3.3"]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: RSpec
run: bundle exec rspec
- name: Standard
run: bundle exec standardrb