Restrict runtime Ruby versions #39
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: Run jobs on every PR | |
on: | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
ruby_version: | |
- 2.6 | |
- 2.7 | |
# - 3.0 # needs to upgrade fastlane and activesupport else | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
bundler-cache: true | |
- run: gem update --system 3.4.22 # The latest of Ruby 2.x support | |
- run: bundle exec rake |