Skip to content

Fix dependency caching in CI workflow#758

Merged
liamfallon merged 1 commit into
kptdev:mainfrom
Nordix:fix-ci-go-cache
Jun 10, 2026
Merged

Fix dependency caching in CI workflow#758
liamfallon merged 1 commit into
kptdev:mainfrom
Nordix:fix-ci-go-cache

Conversation

@aravindtga

Copy link
Copy Markdown
Contributor

Add license header and fix dependency caching in CI workflow

Description

  • What changed: Added Apache 2.0 license header to .github/workflows/ci.yaml and added cache-dependency-path parameter to the setup-go-kpt action.
  • Why it's needed: The cache-dependency-path ensures Go module dependencies are properly cached across all Go
    modules (go/*/go.sum) in the repo.
  • How it works: The cache-dependency-path glob tells the setup action where to find go.sum files for cache key generation, improving CI build times.

Type of Change

  • Bug fix
  • New feature
  • Enhancement
  • Refactor
  • Documentation
  • Tests
  • Other: ________

AI Disclosure

  • I have used Kiro CLI in the creation of this PR.

@aravindtga aravindtga marked this pull request as ready for review June 8, 2026 10:52
Copilot AI review requested due to automatic review settings June 8, 2026 10:52
@aravindtga aravindtga requested a review from efiacor as a code owner June 8, 2026 10:52

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

Note

Copilot was unable to run its full agentic suite in this review.

Updates the CI workflow to include explicit licensing information and improve Go dependency caching behavior.

Changes:

  • Added Apache 2.0 license header to the CI workflow file.
  • Configured actions/setup-go to cache dependencies based on go/*/go.sum.

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

Comment thread .github/workflows/ci.yaml Outdated
Signed-off-by: Aravindhan Ayyanathan <aravindhan.a@est.tech>
@aravindtga aravindtga self-assigned this Jun 8, 2026
@liamfallon liamfallon merged commit d7f5964 into kptdev:main Jun 10, 2026
6 checks passed
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.

4 participants