Skip to content

Commit

Permalink
find status of CI with various RuboCop versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkulz committed Feb 13, 2021
1 parent 75b9d9d commit 3edb851
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0']
rubocop: ['0.63.1', '< 1.0']
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0']
rubocop: ['0.63.1', '0.81.0', '0.82.0', '0.83.0', '0.84.0', '0.85.0', '0.86.0', '0.87.0', '0.88.0', '0.89.0', '0.90.0', '0.91.0', '0.92.0', '0.93.0', '0.93.1']
include:
- ruby: '2.3'
rubocop: '0.63.1'
- ruby: '2.3'
rubocop: '0.81.0'
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: configure Gemfile.local
- name: use specific rubocop version
run: echo "gem 'rubocop', '${{ matrix.rubocop }}'" > Gemfile.local
- name: use specific rubocop-ast version (if required)
if: matrix.rubocop == '0.84.0' || matrix.rubocop == '0.85.0' || matrix.rubocop == '0.85.1'
run: echo "gem 'rubocop-ast', '< 0.7.0'" >> Gemfile.local
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down

0 comments on commit 3edb851

Please sign in to comment.