Release 1.24.1 #184
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: unit-tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Cancel in-progress jobs of the same ref or run_id | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test-unit: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: [ '3.0', '3.1', '3.2', 'head', 'truffleruby-head'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rake |