From 33d9a1f5e0a605a4bc55660d46b10dff00b932cc Mon Sep 17 00:00:00 2001 From: Jason Murray Date: Thu, 30 Jul 2026 20:43:28 -0700 Subject: [PATCH] Docs pass: fix stale README example, document Linux requirement - Drop the deprecated GitHub Actions ::set-output syntax from the embedded example - it was fixed in the actual workflow files (#3) but the README's copy was never updated, so it was teaching new adopters a syntax GitHub has since removed. - Point the example at scruplelesswizard/split-tests@v1 instead of chaosaffe/split-tests@v1-alpha.1 (a stale pre-release tag under the repo's previous owner name; GitHub's redirect still resolves it, but the canonical name/tag should be what's documented). - Bump the embedded example's actions/checkout@v2 to @v4 to match #13. - Note the Linux-only runner requirement up front. --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da8b928..d3959f5 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ _Github Action for splitting a test suite into equal time groups for parallel ex This actions allows you to split up a suite of tests so they can be executed in parallel across a fleet of runners. The overall goal is to reduce developer feedback time by distributing the load. +Runs on `ubuntu` (Linux) runners only — `split_tests` is installed as a Linux binary. + ## Usage ### Splitting Methods @@ -59,7 +61,7 @@ jobs: MAX_INDEX=$((${{ env.total-runners }}-1)) INDEX_LIST=$(seq 0 ${MAX_INDEX}) INDEX_JSON=$(jq --null-input --compact-output '. |= [inputs]' <<< ${INDEX_LIST}) - echo "::set-output name=json::${INDEX_JSON}" + echo "json=${INDEX_JSON}" >> "$GITHUB_OUTPUT" run-parallel-tests: runs-on: ubuntu-latest @@ -70,8 +72,8 @@ jobs: matrix: runner-index: ${{ fromjson(needs.runner-indexes.outputs.json) }} steps: - - uses: actions/checkout@v2 - - uses: chaosaffe/split-tests@v1-alpha.1 + - uses: actions/checkout@v4 + - uses: scruplelesswizard/split-tests@v1 id: split-tests name: Split tests with: