Skip to content

Commit

Permalink
Add Ruby matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstegman committed Jan 5, 2024
1 parent 246760a commit 79d4135
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,20 @@ jobs:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix
strategy:
fail-fast: false
matrix:
ruby-version:
- '3.0'
- '3.2'
- '3.3'
- head

steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: ${{ matrix.ruby-version }}

- uses: actions/cache@v3
with:
Expand All @@ -27,7 +33,7 @@ jobs:
- name: Bundle Install
run: |
gem install bundler -v '1.17.3'
gem install bundler
bundle install --jobs 4 --retry 3
- name: Run tests
Expand Down

0 comments on commit 79d4135

Please sign in to comment.