From f88bc11a31ac9122b91a6d8cd17666aa8c2b892b Mon Sep 17 00:00:00 2001 From: Ben Aitcheson Date: Tue, 23 Jul 2024 14:01:26 +1000 Subject: [PATCH] FIX: try run tests on supported version while gemfile is 3.3.4 --- .github/workflows/rubyonrails.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 3b93186..90fc59a 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -13,6 +13,9 @@ on: jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: [3.2.2, 3.3.4] services: postgres: image: postgres:11-alpine @@ -32,7 +35,7 @@ jobs: - name: Install Ruby and gems uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: - ruby-version: 3.2.2 + ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # Add or replace database setup steps here - name: Set up database schema @@ -49,7 +52,7 @@ jobs: - name: Install Ruby and gems uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: - ruby-version: 3.2.2 + ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # Add or replace any other lints here - name: Security audit dependencies