From 6877a08855445c347402899a2efbf4fe46d70f01 Mon Sep 17 00:00:00 2001 From: D Smith <151718823+Jackblanket847@users.noreply.github.com> Date: Wed, 29 Nov 2023 19:01:14 -0500 Subject: [PATCH] ruby/setup-ruby@v1 --- .github/workflows/ruby.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 4034c9dc8..1430f1d8b 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -2,17 +2,17 @@ name: My workflow on: [push, pull_request] jobs: test: + strategy: + fail-fast: false + matrix: + gemfile: [ rails5, rails6 ] runs-on: ubuntu-latest + env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps + BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile steps: - - uses: actions/checkout@v4 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.2' # Not needed with a .ruby-version file - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - run: bundle exec rake# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake -# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby - + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - run: bundle exec rake \ No newline at end of file