File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,6 +161,13 @@ jobs:
161161 go install golang.org/x/tools/cmd/deadcode@latest
162162 deadcode -test ./... 2>&1 | tee deadcode.txt
163163 echo "deadcode reported $(grep -c 'unreachable func' deadcode.txt || echo 0) unreachable funcs (advisory)"
164+ - name : upload deadcode report
165+ uses : actions/upload-artifact@v4
166+ if : always()
167+ with :
168+ name : deadcode-report
169+ path : deadcode.txt
170+ if-no-files-found : ignore
164171
165172 # -------------------------------------------------------------------------
166173 # Duplication detection — jscpd.
Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ cover: ## Generate a coverage report (coverage.out + coverage.html).
6666bench : # # Run benchmarks.
6767 go test ./... -bench=. -benchmem -count=3 -timeout=300s
6868
69+ bench-hooks : # # Run hook latency benchmarks (integration-tagged; spawns real git repos).
70+ go test -tags=integration ./cli/integration_test/ -run=' ^$$' -bench=BenchmarkHook -benchmem -timeout=600s
71+
6972# ---------------------------------------------------------------------------
7073# Quality gates.
7174# ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments