Skip to content

Commit 134dc39

Browse files
justin808claude
andcommitted
Add RBS validation to CI pipeline
Add RBS type signature validation to the lint-js-and-ruby.yml workflow. This will catch type signature regressions automatically before merge. The validation step runs after RuboCop, using the same command as the existing rake task: bundle exec rbs -I sig validate Fixes #1952 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 0364781 commit 134dc39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/lint-js-and-ruby.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ jobs:
8989
run: bundle check --path=vendor/bundle || bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3
9090
- name: Lint Ruby
9191
run: bundle exec rubocop
92+
- name: Validate RBS type signatures
93+
run: bundle exec rbs -I sig validate
9294
- name: Install Node modules with Yarn for dummy app
9395
run: cd spec/dummy && yarn install --no-progress --no-emoji --frozen-lockfile
9496
- name: Save dummy app ruby gems to cache

0 commit comments

Comments
 (0)