Skip to content

Regexpで書かないとダメ #51

Regexpで書かないとダメ

Regexpで書かないとダメ #51

Workflow file for this run

name: RuboCop
on: [push]
jobs:
rubocop:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
working-directory: ./backend
bundler-cache: true
- name: Cache gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install dependencies
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run Rubocop
run: bundle exec rubocop