Skip to content

Merge pull request #214 from ifad/chore/add-rubocop-to-production-code #11

Merge pull request #214 from ifad/chore/add-rubocop-to-production-code

Merge pull request #214 from ifad/chore/add-rubocop-to-production-code #11

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