Repository navigation
|
Hello, We have a project in Gitlab and I am trying to run phpstan with cache in each CI build but I get always the same message "Result cache not used because the metadata do not match". The configuration in Gitlab is as follows: The "Install Composer" configuration: Here some log traces: |
Answered by
aalbarca
Dec 22, 2022
Replies: 2 comments 1 reply
|
Compare resultCache.php from storage with the new one after a successful run with That will tell you what's different. |
0 replies
Answer selected by
aalbarca
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

It seems that the problem is the full file path. The path is different depending on the identifier of the gitlab runner that is running it. Any way to tell the cache to take only relative paths into account?
Thansk and great job!