Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate RBI config in CI #228

Merged
merged 3 commits into from
Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
with:
ruby-version: 3.2
bundler-cache: true
# This is just to ensure the default config is valid. The target is intentionally set
# to a directory that doesn't contain any .rb or .rbi files.
- name: Validate default config
run: |
bin/rubocop --config config/rbi.yml config
bin/rubocop --config config/default.yml config -r rubocop-sorbet
- name: Lint Ruby files
run: bin/rubocop
- name: Verify documentation is up to date
Expand Down
Loading