Skip to content

Commit 2f0dd12

Browse files
committed
add ci.yml
1 parent 0a6e1e7 commit 2f0dd12

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
name: Linters
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Ruby
11+
uses: ruby/setup-ruby@v1
12+
with:
13+
bundler-cache: true
14+
- name: Run type check
15+
run: bundle exec sb tc
16+
- name: Lint Ruby files
17+
run: bundle exec rubocop --fail-level error
18+
- name: Verify documentation
19+
run: bin/docs
20+
- name: Run tests
21+
run: bin/test
22+
- name: Verify gem RBIs are up-to-date
23+
run: bin/tapioca gem --verify
24+
- name: Verify duplicates in shims
25+
run: bin/tapioca check-shims

0 commit comments

Comments
 (0)