Update CI trigger paths #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Types with Steep | ||
on: | ||
push: | ||
paths: &paths | ||
- .github/workflows/type_check.yml | ||
- lib/** | ||
- sig/** | ||
- Gemfile | ||
- '*.gemspec' | ||
pull_request: | ||
paths: *paths | ||
jobs: | ||
type_check: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3' | ||
bundler-cache: true | ||
- name: Collect RBS | ||
run: bundle exec rbs collection install | ||
- name: Check Types with Steep | ||
run: bundle exec steep check |