Skip to content

Add RuboCop to production code - Stage I #7

Add RuboCop to production code - Stage I

Add RuboCop to production code - Stage I #7

Workflow file for this run

name: RuboCop
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test:
name: RuboCop
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: gemfiles/rubocop.gemfile
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
rubygems: latest
bundler-cache: true
- name: RuboCop
run: bundle exec rubocop