QE: BV - Add features for SLE Micro product migration #4707
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RuboCop | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/rubocop.yml' | |
- 'testsuite/features/**.rb' | |
- 'testsuite/.rubocop.yml' | |
- 'testsuite/.rubocop_todo.yml' | |
jobs: | |
rubocop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.5' | |
- name: Install Rubocop | |
run: | | |
gem install parallel -v 1.10 | |
gem install parser -v 3.0.0.0 | |
gem install rainbow -v 2.2.2 | |
gem install regexp_parser -v 1.8 | |
gem install rexml | |
gem install rubocop-ast -v 1.7.0 | |
gem install ruby-progressbar -v 1.7 | |
gem install unicode-display_width -v 1.4.0 | |
gem install rubocop -v 1.17.0 | |
- name: Run RuboCop | |
run: | | |
cd testsuite | |
rubocop features/* |