Skip to content

CI

CI #2

Workflow file for this run

name: CI
on:
push:
paths:
- ".github/workflows/ci.yml"
- "lib/**"
- "*.gemspec"
- "spec/**"
- "Rakefile"
- "Gemfile"
pull_request:
branches:
- main
create:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- "3.0"
- "2.7"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run unit tests
run: bundle exec rake test