Skip to content

Commit

Permalink
Also verify default config
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Apr 29, 2024
1 parent 50c4e38 commit 6f0ff39
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ jobs:
with:
ruby-version: 3.2
bundler-cache: true
# This repo doesn't contain any RBIs, but we can still verify the config for an arbitrary directory
# 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 RBI config
run: bin/rubocop --config config/rbi.yml 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 6f0ff39

Please sign in to comment.