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

build: Use setup-go action cache. #3168

Merged
merged 1 commit into from
Aug 3, 2023

Commits on Aug 3, 2023

  1. build: Use setup-go action cache.

    The latest version of the setup-go action now caches the go module and
    build cache by default, so it should no longer be done separately to
    avoid saving the same data under two different cache keys.
    
    This updates the caching logic accordingly to remove those directories
    from the separate cache step and renames the step to reflect that it now
    only involves the lint cache.
    
    Finally, while here, it also switches the key over to use the hash of
    the 'go.sum' file in the root of the repository as opposed to using the
    commit hash as it produces significantly less cache objects.
    davecgh committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    9be168d View commit details
    Browse the repository at this point in the history