-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add a basic GitHub Actions CI script #20
Conversation
Sounds like the compiler in this job is more strict. @PeterRugg @gameboo are those warnings worth fixing? |
Hmm, unless we can configure the compiler we normally use to throw the same errors, this would just be frustrating. That said, it might be worth fixing them. I don't know if we're actually confusing variables anywhere. |
I think you tell it to use a given version. Alternatively there also seems to be https://github.com/haskell/actions/tree/main/setup which allows more configuration but requires adding manual build steps instead of just relying on |
I've only used github actions doing cabalisms and ghcisms before, but there may be useful things to fix here anyways. I'll see if I can reproduce locally. |
cf38208
to
bc030b2
Compare
The following works for me |
bc030b2
to
a55e3ff
Compare
hehe... trying to install stack... it defaults to my nfs... I am out of quota... yay! |
so looking at some of the annotations:
sure, but, I mean... So what? I am still exporting this out of my library module... Not sure why this gives a red cross there... EDIT: is there a way to tell stack that I want this? |
We can drop the weeder bits from this CI run, I just thought it might be helpful to find unused functions. I think we can also add additional roots to tell it that those functions should be ignored. |
oo fancy. Let's drop this for now but I am having a pass fixing a bunch of warnings and I'll push on the branch if that's ok? |
It'd be nice to do this at some point |
That sounds good! I can drop the "weeder" part of this PR? |
yeah let's drop it for now |
@arichardson I reverted my commits which seemed to conflict with a recent master and updated the ci script to remove the weeder, and add a build step as well. I will merge this PR and we can add a weeder at some point if we want. I'll probably also have a pass at re implementing these commits I reverted at some point... |
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.
Do you mind removing the commits from the PR instead of reverting them? This keeps the history of the main branch cleaner.
You can do this with the command:
git rebase -i HEAD~12
Then dropping the commits and the reversion as needed.
Sure thing. I'll create a branch somewhere though, because I am keen to hold on to the changesets somewhere (I'll eventually want to implement these). |
@marnovandermaas done! |
Using https://github.com/freckle/stack-action