-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create CI workflows #20
Conversation
We can fix the failing checks in another PR/issue, so just disregard them for now |
💀 |
Eh, technically this PR isn't for fixing those errors. It's just to implement the systems to catch them |
#21 Addresses this issue further |
Specified format to only work for PRs and on main and 2023-beta
Formatting seems to be failing because it isn't on a branch, fixing it now |
actions/checkout#317 (comment) maybe relevant @IanTapply22 |
Yep! I'm doing exactly that |
I think you pass the ref into the checkout action not the format action |
maybe a silly question but do you have any ideas on why workflows didn't run after the format commit? |
like it obviously worked (and we can prob close #22 once this is in) but I think we still need to check that it actually builds once it's formatted properly for when we start enforcing CI to merge |
Well like, I think the google format needs to happen before we lint and build. It tried to build and lint before we actually made the formatting changes. |
ok so 2 options here imo, we can either try to figure out why linting is failing (probably different linter settings between the formatter & linter) or we can just stop linting and assume the autoformatter will do a good enough job I'll let you make that decision but I'm gonna stamp this as soon as CI is green because this is mad annoying |
I'm getting rid of linting, I was going to throw that idea out there, but I just want this to be green and it still works. Thanks for the shout |
Build still wants what the linter provided, it can't have a successful build if you don't spotless apply 🙄 |
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.
rip spotless 2023-2023
Deserved, was always meant to happen |
Description
Created a lint workflow to check any format errors, a format workflow to format any code automatically that's pushed to main, and a build workflow to check if code builds properly without errors. This is linked to #2
Type of change
Please delete options that are not relevant.
Checklist: