Skip to content

Commit 437527a

Browse files
committed
Split into two jobs
1 parent efe0889 commit 437527a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,22 @@ jobs:
5454

5555
- name: Check if documentation is up to date
5656
run: bundle exec rake ruby_lsp:check_docs
57+
lint:
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: actions/checkout@v3
61+
62+
- name: Set up Ruby
63+
uses: ruby/setup-ruby@v1
64+
with:
65+
bundler: latest
66+
bundler-cache: true
67+
68+
- name: Typecheck
69+
run: bundle exec srb tc
70+
71+
- name: Lint Ruby files
72+
run: bin/rubocop
73+
74+
- name: Check if documentation is up to date
75+
run: bundle exec rake ruby_lsp:check_docs

0 commit comments

Comments
 (0)