diff options
-rw-r--r-- | .github/workflows/rubocop.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 9e5f727..46aa3d2 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -6,8 +6,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Rubocop Linter Action - uses: andrewmcodes/rubocop-linter-action@v3.0.0.rc2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v2 + - name: Set up Ruby 3.1 + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.1 + bundler-cache: true + - name: Run RuboCop + run: bundle exec rubocop |