Skip to content

Commit

Permalink
Reorder RBS collection installation in CI workflow
Browse files Browse the repository at this point in the history
Check for uncommitted changes must be performed before `bundle exec rbs collection install`.
Because running `bundle exec rbs collection install` may cause changes.
  • Loading branch information
ydah committed Jan 6, 2025
1 parent 214c511 commit 47359be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle install
- run: bundle exec rbs collection install
- run: bundle exec rbs-inline --output lib/
- name: Check for uncommitted changes
run: |
Expand All @@ -146,6 +145,7 @@ jobs:
exit 1
fi
shell: bash
- run: bundle exec rbs collection install
- run: bundle exec steep check
test-ruby:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 47359be

Please sign in to comment.