Skip to content

Commit bfdd082

Browse files
committed
split lint and test github action
1 parent c9723ec commit bfdd082

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ruby.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: ruby/setup-ruby@v1
12+
with:
13+
bundler-cache: true
14+
- run: bin/setup
15+
- run: bundle exec rubocop -DP
16+
617
test:
718
runs-on: ubuntu-latest
819

@@ -18,7 +29,6 @@ jobs:
1829
ruby-version: ${{ matrix.ruby-version }}
1930
bundler-cache: true
2031
- run: bin/setup
21-
- run: bundle exec rubocop -DP
2232
- run: bundle exec rake test
2333

2434
integration_test:
@@ -35,7 +45,6 @@ jobs:
3545
- uses: actions/checkout@v4
3646
- uses: ruby/setup-ruby@v1
3747
with:
38-
ruby-version: '3.4'
3948
bundler-cache: true
4049
- run: bin/setup
4150
- run: bundle exec rake integration_test

0 commit comments

Comments
 (0)