From 5fa002cb3fc0321e7e9e5e02d845fa1c6e93f490 Mon Sep 17 00:00:00 2001 From: Mostafa Rashed <17770919+mrashed-dev@users.noreply.github.com> Date: Thu, 21 Dec 2023 09:28:19 -0500 Subject: [PATCH] bump rubocop --- .github/workflows/rubocop.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index a9ec3c02..b3b94af0 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -9,9 +9,9 @@ name: Rubocop on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: test: @@ -23,14 +23,14 @@ jobs: BUNDLE_GEMFILE: gemfiles/Gemfile.${{ matrix.gemfile }} steps: - - uses: actions/checkout@v2 - - name: Set up Ruby - # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, - # change this to (see https://github.com/ruby/setup-ruby#versioning): - # uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e - with: - ruby-version: 2.6 - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - name: Run rubocop - run: bundle exec rubocop --config .rubocop.yml + - uses: actions/checkout@v2 + - name: Set up Ruby + # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, + # change this to (see https://github.com/ruby/setup-ruby#versioning): + # uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e + with: + ruby-version: 3.0 + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - name: Run rubocop + run: bundle exec rubocop --config .rubocop.yml