Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use different Go cache key for goreleaser jobs #1558

Merged
merged 3 commits into from
Jul 4, 2024
Merged

Conversation

pietern
Copy link
Contributor

@pietern pietern commented Jul 3, 2024

Changes

The goreleaser jobs perform a cross-platform build of the main binary without test files. It should use a different cache than the jobs that run tests for a single platform.

This change also updates the release-snapshot job to use the latest goreleaser action, as was done in #1477.

Tests

Ran release-snapshot job from this PR.

pietern added 2 commits July 3, 2024 14:20
The goreleaser jobs perform a cross-platform build of the main binary without
test files and as such can (should) use a different object cache.
@pietern
Copy link
Contributor Author

pietern commented Jul 3, 2024

Confirmed in the last release-snapshot job (link) that it no longer shared the cache with the other jobs:

Cache is not found

@pietern pietern enabled auto-merge July 3, 2024 12:35
@pietern pietern disabled auto-merge July 3, 2024 16:12
@pietern pietern enabled auto-merge July 4, 2024 06:54
@pietern pietern added this pull request to the merge queue Jul 4, 2024
Merged via the queue into main with commit 8c3be30 Jul 4, 2024
5 checks passed
@pietern pietern deleted the goreleaser-cache-key branch July 4, 2024 11:45
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