Skip to content

Commit efe0889

Browse files
committed
Re-order CI steps
1 parent 8600f3b commit efe0889

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
bundler-cache: true
4343
cache-version: 7
4444

45-
- name: Check if documentation is up to date
46-
run: bundle exec rake ruby_lsp:check_docs
45+
- name: Run tests
46+
run: bundle exec rails db:setup && bundle exec rails db:migrate && bundle exec rails test
4747

4848
- name: Typecheck
4949
if: matrix.os != 'windows-latest'
@@ -52,8 +52,5 @@ jobs:
5252
- name: Lint Ruby files
5353
run: bin/rubocop
5454

55-
- name: Lint Ruby files
56-
run: bin/rubocop
57-
58-
- name: Run tests
59-
run: bundle exec rails db:setup && bundle exec rails db:migrate && bundle exec rails test
55+
- name: Check if documentation is up to date
56+
run: bundle exec rake ruby_lsp:check_docs

0 commit comments

Comments
 (0)