From 08aaa7a3c828d67c17e04938ed86be3fd534350a Mon Sep 17 00:00:00 2001 From: Vladimir Zagainov Date: Sat, 30 May 2026 19:45:52 +0300 Subject: [PATCH] fix: enable Go module cache in CI workflow - Add cache: true to actions/setup-go@v5 so modules persist between steps - Fixes "missing go.sum entry" error on go vet step --- .gitea/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d69b1e4..865b9a1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: "1.25" + cache: true - name: go vet run: go vet ./... @@ -37,6 +38,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: "1.25" + cache: true - name: Run tests run: go test ./... -v -race -cover @@ -50,6 +52,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: "1.25" + cache: true - name: Build binary run: go build -o mrixscraft-server ./cmd/server