From 79d4135fb8343730ea6aa3f6c7cb4e06f8f14742 Mon Sep 17 00:00:00 2001 From: Adam Stegman Date: Fri, 5 Jan 2024 20:23:31 +0000 Subject: [PATCH] Add Ruby matrix --- .github/workflows/main.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a076b55..08930e6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -9,6 +9,12 @@ 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 @@ -16,7 +22,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '2.6' + ruby-version: ${{ matrix.ruby-version }} - uses: actions/cache@v3 with: @@ -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