change 'or' to 'and' and add same check to mobility pipeline #461
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: lint | |
'on': | |
pull_request: | |
push: | |
branches: | |
- '**' | |
jobs: | |
cookstyle: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR | |
- name: Run cookstyle | |
working-directory: ./resources | |
run: bundle exec cookstyle |