From 89a8669c8fd709aacedc21d1455a9c5e4b7c29ec Mon Sep 17 00:00:00 2001 From: meyric Date: Fri, 23 Aug 2024 09:19:06 +0100 Subject: [PATCH] Remove Rails 5 from integration tests We are dropping support for Rails 5 in out integration tests. --- .github/workflows/rails-integration-tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rails-integration-tests.yml b/.github/workflows/rails-integration-tests.yml index 0031acd..4ac5960 100644 --- a/.github/workflows/rails-integration-tests.yml +++ b/.github/workflows/rails-integration-tests.yml @@ -13,17 +13,17 @@ jobs: outputs: RAILS_VERSIONS: ${{ steps.compute-outputs.outputs.RAILS_VERSIONS }} steps: - # Get latest Rails versions for 5.x.x, 6.x.x and 7.x.x + # Get latest Rails versions for 6.x.x and 7.x.x - id: compute-outputs name: Compute outputs run: | - rails_versions=$(curl https://rubygems.org/api/v1/versions/rails.json | jq 'group_by(.number[:1])[] | (.[0].number) | select(.[:1]|tonumber > 4)' | jq -s -c) + rails_versions=$(curl https://rubygems.org/api/v1/versions/rails.json | jq 'group_by(.number[:1])[] | (.[0].number) | select(.[:1]|tonumber > 5)' | jq -s -c) echo "RAILS_VERSIONS=$rails_versions" >> $GITHUB_OUTPUT build-rails: strategy: fail-fast: false matrix: - # Build containers with the latest 5.x.x, 6.x.x and 7.x.x Rails versions + # Build containers with the latest 6.x.x and 7.x.x Rails versions rails: ${{ fromJSON(needs.set-matrix.outputs.RAILS_VERSIONS) }} runs-on: ubuntu-latest name: Build and cache Docker containers @@ -54,7 +54,7 @@ jobs: mailer-previews: strategy: fail-fast: false - # Run against the latest 5.x.x, 6.x.x and 7.x.x Rails versions + # Run against the latest 6.x.x and 7.x.x Rails versions matrix: rails: ${{ fromJSON(needs.set-matrix.outputs.RAILS_VERSIONS) }} runs-on: ubuntu-latest @@ -114,4 +114,4 @@ jobs: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') - }} \ No newline at end of file + }}