From 27203580c273ab8bce7382f7bf067b4e311efa0d Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Thu, 13 Jun 2024 11:02:27 -0700 Subject: [PATCH] Improve CI action (#1512) * Don't fail fast to avoid cancelling tests if one run fails * Use oldstable and stable to target Go releases to keep CI up to date --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07f0f8103..e8a8c1557 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,13 @@ on: jobs: build-and-test: strategy: + fail-fast: false matrix: os: [ubuntu-latest, macos-intel, macos-arm, windows-latest] - go-version: ["1.21", "1.22"] + go-version: ["oldstable", "stable"] include: - os: ubuntu-latest - go-version: "1.22" + go-version: "stable" # We only want to upload coverage on a single target uploadCoverage: true # We only want to check docker compose on a single target @@ -92,7 +93,7 @@ jobs: cloud-test: strategy: matrix: - go-version: ["1.21", "1.22"] + go-version: ["oldstable", "stable"] # Try to avoid running tests in parallel to avoid workflow ID conflict max-parallel: 1 # Only supported in non-fork runs, since secrets are not available in forks.