Skip to content

Commit

Permalink
Validate RBI config in CI (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Apr 29, 2024
1 parent 9a89308 commit 05cda77
Showing 1 changed file with 6 additions and 0 deletions.
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

0 comments on commit 05cda77

Please sign in to comment.