Support singleton alias #326
Workflow file for this run
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: Ruby | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Ruby ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- '3.3' | |
- '3.2' | |
- '3.1' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Run setup | |
run: bin/setup | |
- name: Run the default task | |
run: bundle exec rake | |
- name: Generate RBS files | |
run: | | |
bundle exec rbs-inline lib --output | |
- name: Type check with Steep | |
run: bundle exec steep check | |
- name: Confirm the latest RBS file is committed | |
run: | | |
git diff --exit-code sig |