Remove EOL rubies from test matrix, add csv dev dep #30
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: CI build | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
ruby: | |
- '3.1' | |
- '3.2' | |
- '3.3' | |
- head | |
- jruby | |
- jruby-head | |
- truffleruby | |
- truffleruby-head | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- run: bundle exec rake | |
# NOTE: calling "bundle install" because the cache apparently did not update due to the gemspec injection | |
- run: bundle install && bundle exec standardrb | |
if: matrix.ruby == '3.3' # not using "head" because rubocop won't work there yet | |
# What's below helps having a single "status check" for mergeability, without | |
# having to add each new version to the list of expected status checks in GitHub. | |
# See https://github.community/t/status-check-for-a-matrix-jobs/127354/7 | |
global: | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
name: build (matrix) | |
needs: build | |
steps: | |
- name: Check build matrix status | |
if: ${{ needs.build.result != 'success' }} | |
run: exit 1 |