-
-
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
feat: Host environment #1293
Merged
Merged
feat: Host environment #1293
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
0ffac4c
feat: HostEnvironment
ChristopherHX 7f3b9b0
fix: lint
ChristopherHX 5cbbeb9
fixes and update code
ChristopherHX cd66680
update go mod
ChristopherHX 7172785
lint / test fixes
ChristopherHX 51464dd
fix lint
ChristopherHX d98c077
Evaluate job env in jobexecutor, disable test
ChristopherHX ea2b60d
fix: CI is unstable due to new linting rules
ChristopherHX b9828de
stability fixes
ChristopherHX 43c0006
fix lint
ChristopherHX e80a2a1
.
ChristopherHX 32d3529
.
ChristopherHX 18701cf
fix nil expreval in test
ChristopherHX e45dcd4
tweak to avoid crash in test
ChristopherHX ec3c803
fix test
ChristopherHX fb9a7cf
skip code in some Tests
ChristopherHX 0ab6a53
fix: absolute cwd in windows
ChristopherHX 2ffea60
fix: reading files from hostenv
ChristopherHX a2f8b94
fix: GITHUB_PATH not working hostenv
ChristopherHX b6af367
Add initial Tests
ChristopherHX 652723f
change tool name for sh
ChristopherHX 8d77e0c
disable docker action tests / fix env file parsing
ChristopherHX d2298ad
Apply some suggestions from code review
ChristopherHX 164e92d
Split HostEnvironment in it's own function
ChristopherHX 55ffe9c
fix logic
ChristopherHX 8321770
Merge branch 'master' into host_environment
cplee 341ff69
Resolve Conflicts: GetRunnerContext now has ctx
ChristopherHX 7b03881
fix: GetContainerArchive on Folders
ChristopherHX 68c2df9
workaround: PATH and Path on windows
ChristopherHX ded9f65
revert: removed empty line
ChristopherHX 2c46605
fix: yaml style
ChristopherHX 04b62c3
Merge master into host_environment
ChristopherHX 1787b94
Add type asserts
ChristopherHX e79e05b
revert change
ChristopherHX 924fad8
Add original lookpath LICENSE
ChristopherHX 39789f1
Merge branch 'master' into host_environment
ChristopherHX a8677dd
Avoid weird lint error
ChristopherHX 1e8c1f6
Remove disabled Test
ChristopherHX 1f9a650
Merge branch 'master' into host_environment
ChristopherHX 18a4da8
Fix merge
ChristopherHX 96342c4
Merge branch 'master' into host_environment
ChristopherHX 821c56e
Rewrite UpdateFromEnv
ChristopherHX 618bff5
Remove unused import
ChristopherHX 98f846a
fix error message
ChristopherHX 2a1fba5
Merge branch 'master' of nektos/act
ChristopherHX 292fa08
Merge branch 'master' into host_environment
mergify[bot] 399f87b
Merge branch 'master' into host_environment
ChristopherHX File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package container | ||
|
||
import "context" | ||
|
||
type ExecutionsEnvironment interface { | ||
Container | ||
ToContainerPath(string) string | ||
GetActPath() string | ||
GetPathVariableName() string | ||
DefaultPathVariable() string | ||
JoinPathVariable(...string) string | ||
GetRunnerContext(ctx context.Context) map[string]interface{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
❤️