Replies: 2 comments
-
I am running into this as well |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same here, GitLab CI with the env variable properly set and cache configured. It seems that locally I get weird results also. I
Looking good up to here. Now I exit the container and start a new one.
Why would it not execute in 1 second again? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Welcome
Description of the problem
We are using gitlab ci/cd caching system to store the cache files in GCS and basically the issue is that once we download those cache files in a new pipeline run and setup the env as mentioned in the document we would expect the run to drop from 1+ mins to 5-10 seconds which is what happens when we run the lint command two times in a row
gitlab ci/cd job:
when downloading the file directly from GCS -> unzipping it and then running locally its also takes the full time while a second run right away takes 5-10 seconds
Version of golangci-lint
golangci-lint has version 1.52.2 built with go1.20.2 from da04413 on 2023-03-25T18:11:28Z
Configuration
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
its a private repo and there is no specific piece of code that i can attach here as the issue is with the caching mechanism
if there is still a need ill try and provide more info
Validation
Beta Was this translation helpful? Give feedback.
All reactions