From 919a4d983ca7ed319b2f30f9c7bea4762f4cfef7 Mon Sep 17 00:00:00 2001 From: David Kus Date: Fri, 18 Oct 2024 10:23:14 -0700 Subject: [PATCH] Update ci.yml (#35) --- .github/workflows/ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77e8e9d..ac83856 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,10 @@ on: branches: - master +permissions: + contents: read + pull-requests: write + jobs: build: runs-on: ubuntu-latest @@ -33,11 +37,11 @@ jobs: env: RAILS_ENV: test - - name: RuboCop Linter Action - uses: andrewmcodes/rubocop-linter-action@v3.3.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RAILS_ENV: test + - name: Rubocop + uses: reviewdog/action-rubocop@v2 + with: + skip_install: true + use_bundler: true - name: Run RSpec and Code Coverage uses: paambaati/codeclimate-action@v2.4.0