Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
ci: set up matrix of workflows correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin committed Apr 30, 2024
1 parent 288a6a9 commit 41652cc
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
ruby:
strategy:
matrix:
_:
platform:
- name: x86_64-linux
runs-on: ubuntu-latest

Expand All @@ -18,15 +18,21 @@ jobs:

- name: x86_64-darwin
runs-on: macos-13
runs-on: ubuntu-latest

ruby-version:
- 3.3
- 3.2
- 3.1

runs-on: ${{ matrix.platform.runs-on }}
steps:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Install dependencies
run: |
Expand Down

0 comments on commit 41652cc

Please sign in to comment.