.github/workflows/lint.yml
name: Lint
on: [push, pull_request]
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: RuboCop Linter Action
uses: andrewmcodes-archive/rubocop-linter-action@v3.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steep:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install Dependencies
run: |
gem install steep rbs bundler
bundle install
rbs collection install
- name: Run Steep check
run: |
steep check