From 0eb3f304fa49614f4bf2e6679c1951c8787c8add Mon Sep 17 00:00:00 2001 From: meyric Date: Fri, 12 Jul 2024 14:16:32 +0100 Subject: [PATCH] Still fixing --- .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 7ee5474..7f2690b 100644 --- a/.github/workflows/rails-integration-tests.yml +++ b/.github/workflows/rails-integration-tests.yml @@ -18,21 +18,21 @@ jobs: 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 > 5)' | jq -s -c) - echo "RAILS_VERSIONS=$rails_versions" >> $GITHUB_OUTPUT + echo 'RAILS_VERSIONS=["5.2.8.1", "6.1.7.8", "7.1.3.4"]' >> $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 ruby: [2.7.8, 3.1.6] - rails: [5.2.8.1, 6.1.7.7, 7.1.3.4] + rails: ${{ fromJSON(needs.set-matrix.outputs.RAILS_VERSIONS) }} exclude: - - rails: 6.1.7.7 + - rails: 5.2.8.1 + ruby: 3.1.6 + - rails: 6.1.7.8 ruby: 2.7.8 - rails: 7.1.3.4 ruby: 2.7.8 - - rails: 5.2.8.1 - ruby: 3.1.6 runs-on: ubuntu-latest name: Build and cache Docker containers