Skip to content

Commit 07f6fd1

Browse files
committed
Run Rubocop in CI
1 parent 2fd1569 commit 07f6fd1

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/ci.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@ on:
1212
- cron: '0 4 1 * *'
1313

1414
jobs:
15+
rubocop:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Ruby
23+
uses: ruby/setup-ruby@v1
24+
with:
25+
ruby-version: '3.3'
26+
27+
- name: Bundler
28+
run: bundle install
29+
30+
- name: Rubocop
31+
run: bin/rubocop
32+
1533
rspec:
1634
runs-on: ubuntu-latest
1735

@@ -108,4 +126,4 @@ jobs:
108126
DB_ADAPTER: ${{ matrix.adapter }}
109127
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
110128
with:
111-
coverageCommand: bin/rake
129+
coverageCommand: bin/rspec

0 commit comments

Comments
 (0)