Skip to content

Commit 3643979

Browse files
committed
Run lint in actions
1 parent 3aa1208 commit 3643979

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ on:
88
pull_request:
99

1010
jobs:
11-
rspec:
11+
tests:
1212
name: Ruby ${{ matrix.ruby }}
1313
runs-on: ubuntu-latest
1414
strategy:
15+
fail-fast: false
1516
matrix:
1617
ruby:
1718
- '3.3'
@@ -28,7 +29,7 @@ jobs:
2829
- name: Run tests
2930
run: bundle exec rspec
3031

31-
static_type_check:
32+
type_check:
3233
name: "Type Check"
3334
runs-on: ubuntu-latest
3435
steps:
@@ -37,6 +38,19 @@ jobs:
3738
uses: ruby/setup-ruby@v1
3839
with:
3940
bundler-cache: true
40-
ruby-version: head
41+
ruby-version: '3.4'
4142
- name: Run static type checks
4243
run: bundle exec srb tc
44+
45+
lint:
46+
name: "Lint"
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v4
50+
- name: Set up Ruby
51+
uses: ruby/setup-ruby@v1
52+
with:
53+
bundler-cache: true
54+
ruby-version: '3.4'
55+
- name: Run static type checks
56+
run: bundle exec rubocop

0 commit comments

Comments
 (0)