Skip to content

Commit 985e4e2

Browse files
committed
Switch from plain RuboCop to StandardRb
StandardRb cannot be configured, and that's a Good Thing™
1 parent 60b64ca commit 985e4e2

File tree

7 files changed

+500
-598
lines changed

7 files changed

+500
-598
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- spec_live
1010

1111
jobs:
12-
test-and-lint:
13-
name: Test and lint
12+
test:
13+
name: Test
1414
runs-on: ubuntu-latest
1515
strategy:
1616
fail-fast: false
@@ -30,10 +30,9 @@ jobs:
3030
with:
3131
bundler-cache: true
3232
ruby-version: ${{ matrix.ruby }}
33-
- name: Test and Lint
34-
run: |
35-
bundle exec rake
36-
bundle exec rubocop
33+
- name: Test
34+
run: bundle exec rake
35+
3736
spec-live:
3837
name: Spec live
3938
if: github.repository == 'zendesk/zendesk_api_client_rb'
@@ -54,3 +53,16 @@ jobs:
5453
bundle exec rake clean_live set_ci_credentials spec:live ||
5554
bundle exec rake clean_live &&
5655
bundle exec rspec spec/live --only-failures
56+
57+
lint:
58+
name: Lint
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: Checkout code
62+
uses: actions/checkout@v5
63+
- name: Set up Ruby
64+
uses: ruby/setup-ruby@v1
65+
with:
66+
bundler-cache: true
67+
- name: Lint
68+
run: bundle exec rake standard

.rubocop.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)