-
-
Notifications
You must be signed in to change notification settings - Fork 407
Fix warning for -Werror
build in Circle CI
#4727
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix and sorry for the extra work.
I am aware that this import
line is redundant after #4717 is merged. However, I am surprised that this causes CI failures since the circleci check did pass before I merged #4626.
I have done some digging and found the cause. The default behavior of GitHub's actions/checkout
is merging the PR branch and the target branch. On the contrary, the default behavior of circleci's checkout
does not do the merge. Both of them can be configured to change to another behavior. Here is GitHub's doc. I do not find the doc of circleci, but it should be doable.
It is debatable whether we should do the merge in the checkout action or not. However, having different behaviors in different CI checks is just wrong, I think. We should choose one single checkout behavior for all CI checks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to migrate away from CircleCI as there is no reason to have CircleCI and GHA. The main issue so far was that we are limited by our caches, we only have 10GB, and our current jobs fill this quota by far. In fact, we are usually not hitting caches for at least one job because they were already evicted.
In the release CI, there is a cabal-cache process that backs up CI artefacts to a s3 buckets, perhaps we want to do something similar for regular CI jobs. We can't use the same existing s3 buckets, as we are only borrowing them.
* Fix typo in hls-signature-help-plugin * Remove unused import
Uh oh!
There was an error while loading. Please reload this page.
Circle CI runs its builds with
-Werror
. Thus, we need to fix the warning that was accidentally introduced.See for example the logs of the job https://circleci.com/gh/haskell/haskell-language-server/70398 in #4726