Skip to content

Replace CircleCI with GitHub Actions #4

Replace CircleCI with GitHub Actions

Replace CircleCI with GitHub Actions #4

Workflow file for this run

on:
pull_request:
branches: ["*"]
push:
branches: [master]
jobs:
test:
strategy:
matrix:
ruby:
- version: ruby-3.3
bundler: ">= 2.5"
- version: ruby-3.2
bundler: ">= 2.5"
- version: ruby-3.1
bundler: ">= 2.5"
- version: ruby-3.0
bundler: ">= 2.5"
# - ruby-2.7
# - ruby-2.6
# - ruby-2.5
# - ruby-2.4
# - ruby-2.3
# - jruby-9.4
# - jruby-9.3
# - jruby-9.2
# - jruby-9.1
# - jruby-9.0
name: ${{ matrix.ruby.version }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby.version }}
- name: Install bundler
run: gem install bundler -v ${{ matrix.ruby.bundler }}
- name: Install gems
run: bundle install
- name: Run tests
run: bundle exec rspec