.github/workflows/main.yml in sparoid-1.0.17 vs .github/workflows/main.yml in sparoid-1.0.18
- old
+ new
@@ -2,17 +2,17 @@
on: [push,pull_request]
jobs:
build:
+ strategy:
+ fail-fast: false
+ matrix:
+ ruby: [ 2.7, '3.0', 3.1, ruby-head ]
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
+ - uses: actions/checkout@v3
+ - uses: ruby/setup-ruby@v1
with:
- ruby-version: 2.7.2
- - name: Run the default task
- run: |
- gem install bundler -v 2.2.14
- bundle install
- bundle exec rake
+ ruby-version: ${{ matrix.ruby }}
+ - run: bundle install
+ - run: bundle exec rake