Apply the linter to remove all the foodcritic exemption for the ones … #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rspec Actions | |
on: [push, pull_request] | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: Gemfile | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.4.1 | |
bundler-cache: true | |
- name: Run tests | |
run: | | |
bundle exec rspec 'tests/run_rubocop.rb' | |
bundle exec rspec 'tests/run_foodcritic.rb' |