Skip to content

Feature: Add rubocop github ci to prevent no localize variables #52

Feature: Add rubocop github ci to prevent no localize variables

Feature: Add rubocop github ci to prevent no localize variables #52

Workflow file for this run

name: Linters
on: [push, pull_request]
jobs:
rubocop:
name: RuboCop
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
- name: Install dependencies
run: gem install rubocop rubocop-rails rubocop-i18n
- name: Run RuboCop
run: rubocop --parallel --format github
haml-lint:
name: HamlLint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install HamlLint
run: gem install haml-lint
- name: Run HamlLint
run: haml-lint -r github