Skip to content

Commit

Permalink
use strategy matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
grdw committed Jan 31, 2024
1 parent 7b5ebb7 commit c31956d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ jobs:
validate:
name: Validate
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- '2.2'
- '2.3'
- '2.4'
- '2.5'
- '2.6'
- '2.7'
- '3.3'

services:
redis:
image: redis
Expand All @@ -17,7 +28,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ['2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.3']
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- name: Install dependencies
Expand Down

0 comments on commit c31956d

Please sign in to comment.