Michael Heap
555cdcebbb
Pull latest changes from ref using cached repo ( #267 )
...
* Pull latest changes from ref using cached repo
Act switched from checking out a branch to checking out
a hash in order to resolve #24 - see
4e66f2c8be
This had a side effect of preventing `w.Pull()` from updating
to the latest commit if a ref was a branch/tag and the repo
already exists on disk.
This commit checks if input.Ref is equivalent to the resolved
hash, and runs `r.Fetch()` and checks out the branch for input.Ref
if it is different. `w.Pull()` can then pull the latest changes
before we checkout `*hash` again like normal
* Extract CloneIfRequired to reduce cyclomatic complexity
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-06-09 07:43:26 -07:00
Josh Soref
72c3bf2220
Spelling ( #240 )
...
* spelling: cartesian
* spelling: deferring
* spelling: marshal
2020-05-18 09:53:42 -07:00
Máximo Cuadros
5e7ec329bd
*: update go-git import ( #194 )
2020-04-16 16:24:30 -07:00
Casey Lee
e1ffc92e86
fix #150 - disable dryrun in git clone
2020-03-14 00:13:18 -07:00
Casey Lee
965f86d04e
tone down verbosity
2020-03-06 10:25:18 -08:00
Casey Lee
ec337ae5cf
fix #128 : guard against empty actionName when 'uses: ./' ( #130 )
...
* fix #128 : guard against empty actionName when 'uses: ./'
* fix #129 - force image name to be lowercase
2020-03-06 10:17:20 -08:00
Casey Lee
66ae15cfc5
gofmt
2020-02-25 16:58:26 -08:00
Casey Lee
ff9f2a8c94
integration test
2020-02-24 12:48:12 -08:00
Casey Lee
12ac7300b9
shared container for job
2020-02-23 15:01:25 -08:00
Casey Lee
4009035011
stop overwritting gitconfig
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:30 -05:00
Casey Lee
762d3708fc
fixes #90 - hard reset when using a version for an action
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:28 -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
c236395c01
add commands support
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:42 -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
ff5f860cee
unit tests
...
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:31 -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