Skip to content

Commit 41e8e74

Browse files
committed
Fix up rubocop and gem builds
1 parent 842361e commit 41e8e74

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/build_publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
bundler-cache: true
2121

2222
- name: Build gem
23-
run: rake build
23+
run: bundle exec rake build
2424

2525
- name: Archive coverage
2626
if: success()

.github/workflows/code_quality.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
name: 'Code quality'
22
on:
3-
workflow_call
3+
workflow_call: {}
44

55
jobs:
66
rubocop:
7+
name: Rubocop
78
runs-on: ubuntu-latest
89
steps:
10+
- uses: actions/checkout@v4
11+
12+
- uses: ruby/setup-ruby@v1
13+
with:
14+
bundler-cache: true
15+
916
- name: Inspecting with Rubocop
10-
run: rubocop
17+
run: bundle exec rubocop
1118

0 commit comments

Comments
 (0)