ci-accelerator/ci-accelerator
Builds/test/Compare

Compare two builds of test

Earlier #3046775346 · 9 Nov 20:04 UTC From cache this buildLater #3047208319 · 9 Nov 22:17 UTC From cache compared with
Time0.4 s0.8 s
Steps run0 of 70 of 8
Commit846ce161 (dependabot: keep test/hints/cases out of the scan)e872e2ce (showcase: the go test build sees the API contract)
Nodemdkjrmdkjr
Build context sent5.5 MiB7.8 MiB

Build arguments

Neither build set a build argument.

Dockerfile

FROM src AS test
+ # The API test holds the responses to the contract (src stays the image's).
+ COPY docs/api docs/api
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build \
go test ./...

Steps

by their place in the Dockerfile
StepEarlier this buildLater compared withTime
[src 1/6] golang:1.27.3-trixie base image 0.0 s base image 0.0 s
[src 2/6] WORKDIR /src from cache 0.0 s from cache 0.0 s
[src 3/6] COPY go.mod go.sum ./ from cache 0.0 s from cache 0.0 s
[src 4/6] RUN --mount=type=cache,target=/go/pkg/mod go mod download from cache 0.0 s from cache 0.0 s
[src 5/6] COPY cmd cmd from cache 0.0 s from cache 0.0 s
[src 6/6] COPY internal internal from cache 0.0 s from cache 0.0 s
[test 1/2] COPY docs/api docs/api not reported from cache 0.0 s
[test 2/2] RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build go test ./... not reported from cache 0.0 s
[test 1/1] RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build go test ./... from cache 0.0 s not reported

Compare with another build of test

the last 30 · pick in the builds list