From 5772830b739491aff19bd1a6abc42873200824c5 Mon Sep 17 00:00:00 2001 From: Peter Goldstein Date: Sat, 15 Apr 2023 22:31:53 -0400 Subject: [PATCH 1/4] 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 From b95473de6f83853dc445a2f3966069a17d1104ee Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 24 Apr 2025 11:18:22 +0530 Subject: [PATCH 2/4] chore: add docker-compose --- .github/workflows/test-and-deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 88462381..6f60af59 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -47,6 +47,11 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_AUTH_TOKEN }} + - name: Install Docker Compose + run: | + sudo apt-get update + sudo apt-get install -y docker-compose + - name: Set up Ruby uses: ruby/setup-ruby@v1 with: From e765ad69ab4eb7b7864bfe7e079b9fdba2c48c5f Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 24 Apr 2025 11:22:51 +0530 Subject: [PATCH 3/4] chore: update licence year --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 3154774a..126ceb1a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (C) 2023, Twilio SendGrid, Inc. +Copyright (C) 2025, Twilio SendGrid, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in From 486ae47adfb113a180ac756140b3b7717c47eb8e Mon Sep 17 00:00:00 2001 From: Shubham Date: Tue, 29 Apr 2025 20:24:39 +0530 Subject: [PATCH 4/4] Update test-and-deploy.yml