Cache Go modules explicitly with go mod download

Add go mod download step after setup-go in all CI jobs to ensure the
module cache is populated as a discrete step. This makes cache hits visible
in logs and prevents module downloads from being interleaved with build
operations, improving cache effectiveness.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-16 15:54:54 +01:00
parent 7e86d2c89f
commit 3e3138f764
2 changed files with 7 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ jobs:
go-version: "1.26.1"
cache: true
- run: "go mod download"
- name: Set up Node.js
uses: actions/setup-node@v6
with: