From 0ceab0b60c3312f51d989c3c80c934ddc1a8e3b2 Mon Sep 17 00:00:00 2001 From: Guilherme Graca Date: Tue, 6 Feb 2024 14:53:09 +0000 Subject: [PATCH] Fix action --- .github/workflows/linters.yml | 9 +++------ .rubocop.yml | 1 - 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 57465e7..96d2289 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -1,15 +1,12 @@ name: linters -on: pull_request +on: [pull_request] jobs: rubocop: - name: Rubocop runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1.2 bundler-cache: true - - name: Run Rubocop - run: bundle exec rubocop + - run: rubocop diff --git a/.rubocop.yml b/.rubocop.yml index ce37402..c3c7a6c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,6 @@ require: - rubocop-rspec - rubocop-performance - AllCops: TargetRubyVersion: 3.1.2 NewCops: enable