You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
StandardRB
v3
Lint your Ruby code in parallel to your builds with StandardRB. Based almost entirely off the Rubucop Action by Alberto Gimeno.
Here's an example running a build matrix and StandardRB:
name: CI
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.5', '2.6', '2.7' ]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{matrix.ruby}}
uses: actions/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
StandardRB:
runs-on: ubuntu-latest
steps:
- name: standardrb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: amoeba/standardrb-action@v2
Please file an Issue for bug reports, feature requests, or other comments.