Skip to content

Merge pull request #3 from truecoach/feature/boolean-methods #14

Merge pull request #3 from truecoach/feature/boolean-methods

Merge pull request #3 from truecoach/feature/boolean-methods #14

Workflow file for this run

env:
RUBY_VERSION: 3.1
name: CI
on: [push,pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- name: Install Rubocop
run: gem install rubocop
- name: Check code
run: rubocop
test:
name: Test
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- name: Install dependencies
run: |
gem install bundler
bundle install
- name: Run tests
run: bundler exec rspec