Skip to content

ci: set setup-go cache dependency path#397

Merged
manusa merged 1 commit into
manusa:mainfrom
nanookclaw:fix/setup-go-cache-dependency-path
May 21, 2026
Merged

ci: set setup-go cache dependency path#397
manusa merged 1 commit into
manusa:mainfrom
nanookclaw:fix/setup-go-cache-dependency-path

Conversation

@nanookclaw
Copy link
Copy Markdown
Contributor

Summary

Adds cache-dependency-path: native/go.sum to each actions/setup-go@v6 step in the build, release, and snapshots workflows.

The Go module for the native bridge lives under native/, so setup-go's default dependency-file discovery misses it from the repository root. Pointing the cache key at native/go.sum lets the existing setup-go cache use the correct dependency file without changing the build or release commands.

Verification

  • ruby /tmp/check_workflow_yaml.rb .github/workflows/build.yml .github/workflows/release.yml .github/workflows/snapshots.yml
  • git diff --check

Closes #395

Signed-off-by: Nanook <nanookclaw@users.noreply.github.com>
Copy link
Copy Markdown
Owner

@manusa manusa left a comment

Choose a reason for hiding this comment

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

LGTM, thx!
Now that you've become a contributor to the project, it'd be great if you could start it. This would greatly improve your visibility.

@manusa manusa merged commit 3809096 into manusa:main May 21, 2026
3 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.

CI: setup-go cache miss — dependencies file not found because go.mod lives under native/

2 participants