Skip to content

ci(sync): update GitHub Actions - #94

Open
indykiteone wants to merge 1 commit into
masterfrom
ci/sync-github-actions-ce46563
Open

ci(sync): update GitHub Actions#94
indykiteone wants to merge 1 commit into
masterfrom
ci/sync-github-actions-ce46563

Conversation

@indykiteone

Copy link
Copy Markdown
Contributor

Automatically generated PR to sync GitHub Actions and related configs.

Copilot AI review requested due to automatic review settings August 3, 2026 10:28
@indykiteone
indykiteone requested a review from a team August 3, 2026 10:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the shared pre-commit composite action’s setup script to change how Go dependencies are pre-fetched into cache during CI runs.

Changes:

  • Replaces go mod download with go list -test -deps in the Go dependency warm-up step.
  • Adds explanatory comments describing the rationale for using go list to populate the module cache.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/actions/pre-commit/script.sh Outdated
Comment on lines +278 to +282
# Yes, go list will actually download all dependencies to the local cache. There are no metadata,
# so to be able to list required deps of nested modules, we need to download them first.
# This is actually better than `go mod download` because it will download only dependencies,
# that are directly required from the code, not just listed in nested modules go.mod files.
go list -test -deps
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 3, 2026 11:45
@indykiteone
indykiteone force-pushed the ci/sync-github-actions-ce46563 branch from cd7c79d to 17a194b Compare August 3, 2026 11:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Suppressed comments (1)

.github/actions/pre-commit/script.sh:281

  • The new explanatory comment has a couple of grammar issues (e.g., “There are no metadata,” and an unnecessary comma after “dependencies,”) that make the rationale harder to read. Consider rephrasing for clarity.
        # Yes, go list will actually download all dependencies to the local cache. There are no metadata,
        # so to be able to list required deps of nested modules, we need to download them first.
        # This is actually better than `go mod download` because it will download only dependencies,
        # that are directly required from the code, not just listed in nested modules go.mod files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants