suma_minion: prevent issues when calling Salt runners (bsc#1228232) #5677
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: '3.3' | |
- name: Install Rubocop | |
run: | | |
gem install rubocop -v 1.65.1 | |
- name: Run RuboCop | |
run: | | |
cd testsuite | |
rubocop features/* |