Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
ci(affected): emit and upload cargo-affected report.json artifact (#2621)
Maximilian Roos431fc68a6a0d
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yamlindex c4379dc52..32a5c69e1 100644--- a/.github/workflows/ci.yaml+++ b/.github/workflows/ci.yaml@@ -390,7 +390,19 @@ jobs:- name: π― Run affected testsenv:NEXTEST_NO_INPUT_HANDLER: 1- run: cargo affected run -- --features shell-integration-tests+ run: cargo affected run --report-json target/affected/report.json -- --features shell-integration-tests++ # Report writes BEFORE nextest runs, so it survives test failures β+ # uploading on `!cancelled()` makes it the most useful diagnostic+ # when tests fail (cache state, fingerprint divergence, selection+ # reasons). Schema documented at:+ # https://github.com/max-sixty/cargo-affected/blob/main/docs/report-json.md+ - name: π Upload cargo-affected report+ if: ${{ !cancelled() }}+ uses: actions/upload-artifact@v7+ with:+ name: cargo-affected-report+ path: target/affected/report.jsoncode-coverage:runs-on: ubuntu-24.04