From 5772830b739491aff19bd1a6abc42873200824c5 Mon Sep 17 00:00:00 2001 From: Peter Goldstein Date: Sat, 15 Apr 2023 22:31:53 -0400 Subject: [PATCH] Add Ruby 3.2 and JRuby 9.3 and 9.4 to CI. Update checkout action versions. --- .github/workflows/test-and-deploy.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index d414ff07..88462381 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -16,18 +16,27 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 20 strategy: + fail-fast: false matrix: - ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', 'jruby-9.2' ] + ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', 'jruby-9.2', 'jruby-9.3', 'jruby-9.4' ] env: version: ${{ format('ruby:{0}', matrix.ruby) }} DOCKER_LOGIN: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_AUTH_TOKEN }} steps: - - name: Revise env version if necessary + - name: Revise env version if necessary (jruby-9.2) run: echo "version=jruby:9.2" >> $GITHUB_ENV if: ${{ matrix.ruby == 'jruby-9.2' }} + - name: Revise env version if necessary (jruby-9.3) + run: echo "version=jruby:9.3" >> $GITHUB_ENV + if: ${{ matrix.ruby == 'jruby-9.3' }} + + - name: Revise env version if necessary (jruby-9.4) + run: echo "version=jruby:9.4" >> $GITHUB_ENV + if: ${{ matrix.ruby == 'jruby-9.4' }} + - name: Checkout sendgrid-ruby - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -66,7 +75,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sendgrid-ruby - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0