From e32c91b2aec2285bef61d2cfee35ea3f88d40879 Mon Sep 17 00:00:00 2001 From: Richard Palethorpe Date: Thu, 23 Jul 2026 11:45:38 +0100 Subject: [PATCH] ci: cache Go modules before offline tests Warm the complete module graph before the Linux and macOS test jobs enter offline replay mode, so tool dependencies such as Ginkgo are not fetched through the guarded proxy. Assisted-by: Codex:gpt-5 Signed-off-by: Richard Palethorpe --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 191d64dcd..76a43e2bf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,8 @@ jobs: # You can test your matrix by printing the current Go version - name: Display Go version run: go version + - name: Download Go modules + run: go mod download - name: Proto Dependencies run: | # Install protoc @@ -111,6 +113,8 @@ jobs: # You can test your matrix by printing the current Go version - name: Display Go version run: go version + - name: Download Go modules + run: go mod download - name: Dependencies run: | brew install protobuf grpc make protoc-gen-go protoc-gen-go-grpc libomp llvm opus ffmpeg