only support ruby 3.0+ moving fwd, add ruby-head and truffleruby-head #32
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: build | |
"on": | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
unit: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-2019] | |
ruby: ['3.0', '3.1', '3.2', '3.3', 'head', 'truffleruby-head'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rake |