Merge pull request #26 from hibariya/skip-unless-table-exists #132
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 }} Rails ${{ matrix.rails_version }} | |
strategy: | |
matrix: | |
ruby: | |
- '3.1' | |
- '3.2' | |
- '3.3' | |
rails_version: | |
- '6.1' | |
- '7.0' | |
- '7.1' | |
- '7.2' | |
env: | |
RAILS_VERSION: ${{ matrix.rails_version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Remove Gemfile.lock for CI | |
run: rm Gemfile.lock | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run the default task | |
run: | | |
bundle exec rbs collection update | |
bundle exec rake |