Skip to content

RuboCopでのチェックをするworkflowを追加 #2

RuboCopでのチェックをするworkflowを追加

RuboCopでのチェックをするworkflowを追加 #2

Workflow file for this run

name: Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install dependencies
run: bundle install
- name: Run RuboCop
run: bundle exec rubocop