David Beck
249e1a5851
[Add] More logging for default push action ( #383 )
2020-10-08 22:28:01 -07:00
Cameron Booth
80d5153dc3
Special case handling of empty workflow files for user experience ( #349 )
...
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-08-31 14:50:01 -07:00
Julian Squires
95240475c3
Support setting shell via defaults.run ( #343 )
...
Note that we don't support the more general use of defaults, just its
run key for setting shell and working directory.
The documentation for defaults.run is here:
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaultsrun
Fixes #214 .
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-08-28 11:52:25 -07:00
Amit Mahbubani
922820f56e
Fix comments on StepType enum consts ( #304 )
2020-07-13 09:39:23 -07:00
Dylan Arbour
ed64e6193c
Change -W command to accept a single file
...
Currently setting workflows with the -W (--workflows) flag only accepts
a folder. It is not possible to run a single workflow.yml file.
This commit allows either a single file or a directory to be passed into
the workflows flag.
2020-05-26 23:29:50 -04:00
Michael Heap
18bc8ff929
Implement UnmarshalYAML for ActionRunsUsing ( #223 )
...
In #222 I added case normalisation to ReadAction() to ensure that Docker and docker are interpreted the same way.
I realised that this was being done at the wrong level and required multiple type conversions. By implementing `func (a ActionRunsUsing) UnmarshalYAML` we can lowercase the string as it's being unserialized
This has an added benefit that any time this type is hydrated the `runs.using` key will be lowercased, rather than relying on `ReadAction()`
2020-05-04 05:40:11 -07:00
Michael Heap
a09b46b898
Normalise Runs.Using to lowercase ( #222 )
...
Currently, providing `using: Docker` is an error as the switch statement in `step_context.go` is case sensitive.
Actions run successfully on GitHub with `using: Docker` leading me to believe that they're case insensitive. This commit updates `act` to match
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-05-03 20:59:13 -07:00
Aidan Steele
25134089ee
Add support for runs-on array form ( closes #146 ) ( #155 )
...
* Add support for runs-on array form (closes #146 )
* Fixed style issues
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-03-16 14:58:10 -07:00
Casey Lee
e7515df4b1
fix #108 - support matrix expressions in job name ( #109 )
2020-02-26 23:29:43 -08:00
Casey Lee
c571efd481
fix #95 - change ports to array of strings
2020-02-24 22:37:20 -08:00
Casey Lee
d2ef0e27c7
fix 99: support string and map variants of container
2020-02-24 22:35:08 -08:00
Casey Lee
12ac7300b9
shared container for job
2020-02-23 15:01:25 -08:00
Casey Lee
10296e05c7
reuse containers to fix #86
2020-02-20 22:43:20 -05:00
Casey Lee
bdb0c35ba3
code complexity of NewPlanExecutor
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:07 -05:00
Casey Lee
33f5b5416c
matrix is done
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:03 -05:00
Casey Lee
12ac03a755
skip unsupported platforms
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:01 -05:00
Casey Lee
b8589c4e9b
initial support for expressons
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:59 -05:00
Casey Lee
eb7e10e86b
test updates
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:44 -05:00
Casey Lee
c44aa2a118
cleanup logging
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:40 -05:00
Casey Lee
2818130313
ci tests
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:36 -05:00
Casey Lee
a846112993
support list/map/scalar for on and needs
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:34 -05:00
Casey Lee
ff5f860cee
unit tests
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:31 -05:00
Casey Lee
7f5ced76f6
local actions
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:29 -05:00
Casey Lee
33f8290eb3
successfully able to run simple workflows
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:25 -05:00
Casey Lee
fbab49c68d
initial load of yaml working
2020-02-04 16:38:41 -08:00