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

Makefile: clean golangci-lint cache on make clean #4444

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

schuellerf
Copy link
Contributor

This is a followup of #4435.

To speedup make lint we use a local cache.
It seems that there is no sane way to check and just update the cache, so we'll just provide an option to wipe it.

Using the cache does reduce the time of make lint from 1 minute 15sec to 1 sec on my PC. So for consecutive runs, the cache still makes sense.

Thanks @mvo5 for the tests in #4435

Copy link
Contributor

@bcl bcl left a comment

Choose a reason for hiding this comment

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

Ack

To speedup `make lint` we use a local cache.
It seems that there is no sane way to check and just
update the cache, so we'll just provide an option to wipe it.

Using the cache does reduce the time of `make lint` from
1 minute 15sec to 1 sec on my PC. So for consecutive runs,
the cache still makes sense.
@schuellerf schuellerf enabled auto-merge (rebase) November 4, 2024 16:10
@schuellerf schuellerf merged commit 69525b7 into osbuild:main Nov 4, 2024
46 of 50 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.

2 participants