Skip to content

Commit a02fd81

Browse files
committed
CI: Run rubocop before inspection
rubocop finishes in seconds, the inspection takes 2 minutes. We should run rubocop first. Signed-off-by: Tim Meusel <tim@bastelfreak.de>
1 parent 78e3532 commit a02fd81

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/runtime_tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
with:
2828
ruby-version: 4.0
2929
bundler-cache: true
30-
30+
- name: Run rubocop
31+
run: bundle exec rubocop
3132
- name: Vanagon inspect
3233
run: |
3334
stat=0
@@ -52,9 +53,6 @@ jobs:
5253
false
5354
fi
5455
55-
- name: Run rubocop
56-
run: bundle exec rubocop
57-
5856
# this takes roughly 10 minutes for linux, so it's fine to run it on all PRs
5957
# MacOS / Windows takes ages, so we don't want to run this always
6058
build:

0 commit comments

Comments
 (0)