.github/workflows/ci.yml in dry-behaviour-0.12.0 vs .github/workflows/ci.yml in dry-behaviour-0.12.1
- old
+ new
@@ -1,20 +1,24 @@
name: Ruby
on: [push]
jobs:
- build:
+ test:
runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ ruby-version: ['head', '3.1', '3.0', '2.7']
+
steps:
- - uses: actions/checkout@v1
- - name: Set up Ruby 2.3.8
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: 2.3.8
- - name: Build and test with Rake
- run: |
- gem install bundler
- bundle install --jobs 4 --retry 3
- bundle exec rspec
+ - uses: actions/checkout@v3
+ - name: Set up Ruby ${{ matrix.ruby-version }}
+ uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
+ with:
+ ruby-version: ${{ matrix.ruby-version }}
+ - name: Install dependencies
+ run: bundle install --jobs 4 --retry 3
+ - name: Run tests
+ run: bundle exec rspec