From 1df97e97df8653fe2b94c8bec63e186ec6f5e5f5 Mon Sep 17 00:00:00 2001 From: Caleb Hearth Date: Tue, 19 Nov 2024 15:24:10 -0700 Subject: [PATCH 1/2] Test 1 newer version each of Ruby, Rails - Test newest Ruby + next Rails (main, 3.4) - Text next Ruby + newest Rails (8.0, 3.3) - Test next Ruby + next Rails (main, 3.4) All of these can fail, but it's useful to know. --- .github/workflows/ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ceac5bc..c5c8e8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,13 +26,24 @@ jobs: build: name: Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }} + continue-on-error: ${{ matrix.continue-on-error }} strategy: fail-fast: false matrix: ruby: ["3.2", "3.3"] - rails: ["7.1", "7.2", "8.0"] + rails: ["7.1", "7.2"] continue-on-error: [false] + include: + - ruby: "head" + rails: "7.2" + continue-on-error: true + - ruby: "3.3" + rails: "main" + continue-on-error: true + - ruby: "head" + rails: "main" + continue-on-error: true runs-on: ubuntu-latest From d504b40c2af205a4cd22bebe26c2e4988ae15be6 Mon Sep 17 00:00:00 2001 From: Caleb Hearth Date: Tue, 19 Nov 2024 16:24:20 -0700 Subject: [PATCH 2/2] Bump actions/cache to v4 The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5c8e8c..8df14c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,7 +82,7 @@ jobs: run: bundle lock - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor/bundle key: bundle-${{ hashFiles('Gemfile.lock') }}