Skip to content

Commit

Permalink
Improve CI action (#1512)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Quinn-With-Two-Ns committed Jun 13, 2024
1 parent 4c8b9e1 commit 2720358
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 2720358

Please sign in to comment.