-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
refactor: export and move shared contexts into pkg/model #931
Conversation
9ccb081
to
ce531bf
Compare
This comment has been minimized.
This comment has been minimized.
ce531bf
to
7764aa5
Compare
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## master #931 +/- ##
==========================================
+ Coverage 49.27% 56.98% +7.71%
==========================================
Files 23 29 +6
Lines 2401 4224 +1823
==========================================
+ Hits 1183 2407 +1224
- Misses 1090 1610 +520
- Partials 128 207 +79
Continue to review full report at Codecov.
|
7764aa5
to
381daba
Compare
@catthehacker if this PR is a change you'd be willing to merge before #908 then it is ready for review from our side. |
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 guess it looks ok, @cplee opinion on this will be more valuable
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.
These should have been in model
package from start...i was lazy 🤷♂️
This comment has been minimized.
This comment has been minimized.
@ZauberNerd this pull request has failed checks 🛠 |
@ZauberNerd this pull request is now in conflict 😩 |
This commit moves the githubContext, jobContext and stepResult structs from the runner package to the model package in preparation for nektos#908 because the expression.go file lives in the runner package and would introduce cyclic dependencies with the exprparser package. Co-authored-by: Markus Wolf <[email protected]>
2c874ea
to
6efaf9f
Compare
This commit moves the
githubContext
,jobContext
andstepResult
structsfrom the
runner
package to themodel
package in preparation for #908because the
expression.go
file lives in therunner
package and wouldintroduce cyclic dependencies with the
exprparser
package.