From 165ecfbd2a3c8850564f2e4878c6b521cea008dd Mon Sep 17 00:00:00 2001 From: Ashish Kulkarni Date: Fri, 12 Feb 2021 20:59:18 +0530 Subject: [PATCH] find status of CI with various RuboCop versions --- .github/workflows/checks.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 257509f..1095944 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -11,13 +11,20 @@ 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 + - if: matrix.rubocop == '0.84.0' || matrix.rubocop == '0.85.0' + run: echo "gem 'rubocop-ast', '< 0.7.0'" >> Gemfile.local - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }}