Skip to content

Commit

Permalink
move rubocop into foreman.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 24, 2023
1 parent 1cfbb45 commit ce2242d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/foreman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,24 @@ env:
BUNDLE_WITHOUT: "console:development:journald"

jobs:
rubocop:
name: Rubocop
runs-on: ubuntu-latest
env:
BUNDLE_WITHOUT: assets:console:development:dynflow_sidekiq:ec2:journald:jsonp:libvirt:openid:openstack:ovirt:redis:service:telemetry:vmware
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop -P

setup_matrix:
name: Setup matrix
needs: rubocop
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.build_matrix.outputs.matrix }}
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/rubocop.yml

This file was deleted.

0 comments on commit ce2242d

Please sign in to comment.