Skip to content

Fix rubocop

Fix rubocop #94

Workflow file for this run

name: Rubocop
on:
pull_request:
push:
branches:
- master
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Remove Katello from dependencies
run: |
sed -i.bak "s/s.add_dependency/# s.add_dependency/g" foreman_kernel_care.gemspec
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
bundler-cache: true
cache-version: 1
- name: Execute rubocop
run: |
bundle exec rubocop