Merge pull request #522 from ruby-syntax-tree/track-compile-errors #1496
This file contains hidden or 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: Main | |
on: | |
- push | |
- pull_request | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- '2.7.0' | |
- '3.0' | |
- '3.1' | |
- '3.2' | |
- '3.3' | |
- '3.4' | |
- truffleruby-head | |
name: CI | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
# TESTOPTS: --verbose | |
steps: | |
- uses: actions/checkout@master | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: ${{ matrix.ruby }} | |
- name: Test | |
run: bundle exec rake test | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
steps: | |
- uses: actions/checkout@master | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: '3.2' | |
- name: Check | |
run: | | |
bundle exec rake stree:check | |
bundle exec rubocop |