Skip to content

Merge pull request #112 from lbeder/update-tests #56

Merge pull request #112 from lbeder/update-tests

Merge pull request #112 from lbeder/update-tests #56

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['2.7.7', '3.1.3']
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run Rubocop
run: bundle exec rake rubocop
- name: Run tests
run: bundle exec rake