Fix new RuboCop lints #57
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: Ruby | |
on: [push,pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.7 | |
- name: Install | |
run: | | |
gem install bundler -v 2.4.7 | |
bundle install | |
- name: Type check | |
run: bundle exec solargraph typecheck --level typed | |
- name: Unit tests | |
run: bundle exec rake | |
- name: Doc check | |
run: bundle exec yard | awk '/\[warn\]/ {w++}; {print}; END {exit w}' |