Merge pull request #49 from HParker/increase-Prism-version-requirement #93
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: | |
pull_request: | |
branches: | |
- 'master' | |
push: | |
branches: | |
- 'master' | |
jobs: | |
ruby-versions: | |
uses: ruby/actions/.github/workflows/ruby_versions.yml@master | |
with: | |
engine: cruby | |
min_version: 3.1 | |
build: | |
needs: ruby-versions | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Bundle install | |
run: | | |
bundle install | |
- name: Run the test suite | |
run: | | |
RUBYOPT=--disable-error_highlight bundle exec rake TESTOPT=-v | |
prism: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: head | |
bundler-cache: true | |
- name: Run the test suite | |
run: | | |
RUBYOPT="--disable-error_highlight --parser=prism" bundle exec rake TESTOPT=-v |