Skip to content

ci: make Go caches deterministic - #37

Merged
trakhimenok merged 1 commit into
mainfrom
agent/deterministic-go-caches
Jul 21, 2026
Merged

ci: make Go caches deterministic#37
trakhimenok merged 1 commit into
mainfrom
agent/deterministic-go-caches

Conversation

@trakhimenok

Copy link
Copy Markdown
Member

Makes the shared Go CI cache behavior deterministic and validates the workflow revision itself.

  • Both parallel jobs restore the same Go module/build cache; only Build & test saves a cold key.
  • Disables golangci-lint-action cache, whose restore/save overhead exceeded analysis time.
  • Changes the composite action from mutating go get ./... to read-only go mod download all.
  • Makes provider CI call the local reusable workflow and smoke-tests the composite action.

Process: predictable CI feedback helps keep SneatBot, GameBoard, and WhatsApp changes moving on the current top priorities.

Validation: actionlint, YAML parsing, and GOWORK=off go vet ./..., go build ./..., go test ./....

Process: predictable CI feedback helps keep SneatBot, GameBoard, and WhatsApp changes moving on the current top priorities.
@trakhimenok
trakhimenok marked this pull request as ready for review July 21, 2026 17:56
@trakhimenok
trakhimenok merged commit 16c5f07 into main Jul 21, 2026
5 checks passed
@trakhimenok
trakhimenok deleted the agent/deterministic-go-caches branch July 21, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant