Skip to content

chore: cache Go/Rust dependencies and sample files#1368

Merged
stevebeattie merged 2 commits into
chainguard-dev:mainfrom
egibs:cache-go-and-samples
Feb 8, 2026
Merged

chore: cache Go/Rust dependencies and sample files#1368
stevebeattie merged 2 commits into
chainguard-dev:mainfrom
egibs:cache-go-and-samples

Conversation

@egibs
Copy link
Copy Markdown
Member

@egibs egibs commented Feb 8, 2026

We've historically used zero caching for our Go deps and the samples we use for integration tests and third-party rule updates. This PR caches both of these so that we spend less [billable] CI time on this boilerplate activity.

The CodeQL Workflow also rebuilds the yara-x C API from scratch each time it runs so we can save ~4 minutes by caching those files as well.

Edit: the recent Check runs in this PR show what the runtimes are now that I've gotten everything cached.

@egibs egibs force-pushed the cache-go-and-samples branch 2 times, most recently from a5cfe83 to 2e2f80d Compare February 8, 2026 17:14
@egibs egibs changed the title chore: cache Go dependencies and sample files chore: cache Go/Rust dependencies and sample files Feb 8, 2026
@egibs egibs force-pushed the cache-go-and-samples branch 3 times, most recently from da6925f to 3752fc5 Compare February 8, 2026 17:39
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs force-pushed the cache-go-and-samples branch from 3752fc5 to 6b93a55 Compare February 8, 2026 17:41
@egibs egibs requested a review from stevebeattie February 8, 2026 17:41
@egibs egibs marked this pull request as ready for review February 8, 2026 17:41
Comment thread .github/workflows/go-tests.yaml
@stevebeattie stevebeattie merged commit 336e2dc into chainguard-dev:main Feb 8, 2026
18 checks passed
@egibs egibs deleted the cache-go-and-samples branch February 9, 2026 14:07
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.

2 participants