Commit graph

45 commits

Author SHA1 Message Date
Casey Lee
28665466fa update stale labels to stop closing issues that are NOT stale 2021-01-18 10:41:49 -08:00
Cat™
3aab6f634f Make stale bot action less aggressive (#478)
Make stale bot action less aggressive
Days before marking issues/PRs as stale: 30
Days before closing stale issues/PRs: 14
2021-01-14 21:19:25 -08:00
Torbjørn Vatn
b60851b818 GitHub env file support (#426)
* Upgrade to the official golangci-lint action and fix some issues it found

* Update deps

* Remove a shadow warning

* Initialize the splitPattern only once

* Initial attempt at supporting $GITHUB_ENV

Needs some polishing and tests

* Now it's actually working

* Replace golang.org/x/crypto/ssh/terminal with golang.org/x/term

* Disable the issue-228 test again

* The linter is picky

* Discovered that the workflow/envs.txt had to exist in certain cases

* Fix small linter issue
2021-01-11 22:39:43 -08:00
Torbjørn Vatn
532500b3f5 Act env (#417)
* Test more if env variants

* The correct negation syntax is !=

* Make the Interpolate function support negated booleans from envs

* Move assert := a.New(t) into t.Run

This uncovered that some of the test premisses was wrong and the
Eval Bool function also had flaws

* Remove a stray logrus import

* Add an ACT env set to true

This can be used to skip certain steps that you don't want to run locally
when testing. E.g. steps that sends messages to Slack channels on successful
builds etc.

* Add a description about env.ACT to the readme

* A new attempt at Interpolation and EvalBool

* One small merge fix

* Remove some fmt.Printfs

* Fix some merge conflicts
2020-11-18 07:14:34 -08:00
Torbjørn Vatn
1ae5c19aa4 EvalBool and Interpolation fixes (#424)
* A new attempt at Interpolation and EvalBool

* One small merge fix

* Remove some fmt.Printfs
2020-11-17 09:31:05 -08:00
Casey Lee
3dbfe0ed90 increase operations per run 2020-11-08 08:31:19 -08:00
Casey Lee
c6c6bd2f8e remove stale label when comments added 2020-11-08 08:23:53 -08:00
lshamis
e8f6b1bb3d Simpler list view (#382)
* Simpler list view

* lint

* readding graph viz with -g/--graph

Co-authored-by: Leonid Shamis <lshamis@bob.localdomain>
Co-authored-by: Casey Lee <cplee@nektos.com>
2020-10-12 10:26:22 -07:00
Yoan Blanc
3e71b12c01 chore: upgrade docker v19.03.12 (#348)
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-08-29 22:55:22 -07:00
Casey Lee
0fa58c16bd update actions/stale to remove stale when issues are updated 2020-08-28 11:56:20 -07:00
Casey Lee
99b5da6086 Fix 132 - support for chocolatey install (#144)
* fix #132 - publish chocolatey package for act

* add missing files to pass validation

* remove extra choco step
2020-03-09 17:49:55 -07:00
Casey Lee
9ce7657839 fix build for windows 2020-03-06 17:08:07 -08:00
chenrui
cf841846fd chore(deps): cleanup go.mod a little bit (#136)
* Upgrade docker to v19.03.7

* go mod vendor

* golangci-lint 1.23.8
2020-03-06 14:37:54 -08:00
chenrui
32094d3dd7 Bump golang to v1.14 (#135)
* Bump golang to v1.14

* go mod vendor

Co-authored-by: Casey Lee <cplee@nektos.com>
2020-03-06 14:21:24 -08:00
Casey Lee
8084ccfb58 run on push and pull_request 2020-03-02 08:04:30 -08:00
Casey Lee
85fde9ee94 manage stale issues in GH actions 2020-02-28 09:35:29 -08:00
Casey Lee
4955c2449c actions 2020-02-24 15:05:41 -08:00
Casey Lee
2d11060363 makefile cleanups 2020-02-24 15:04:33 -08:00
Casey Lee
1534808d0e ci cleanup 2020-02-24 14:43:03 -08:00
Casey Lee
ff9f2a8c94 integration test 2020-02-24 12:48:12 -08:00
Casey Lee
72682352a6 unit tests pass 2020-02-24 10:56:49 -08:00
Casey Lee
af56d03fab token for goreleaser
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:24 -05:00
Casey Lee
4bbe7bebd7 new token for brew
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:22 -05:00
Casey Lee
8c26abe6f9 disable integration testing
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:13 -05:00
Casey Lee
f5c763d5ab add funding.yml
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:51 -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
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
5ad4949607 ignore actions/checkout locally
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:38 -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
7f5ced76f6 local actions
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:29 -05:00
Casey Lee
770966a7d0 support custom shell
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:27 -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
Casey Lee
113ebda3ff fix unit test failures in GitHub Actions caused by missing gitconfig 2019-05-28 09:47:40 -07:00
Casey Lee
57490858a1 resolve issues with release action 2019-02-07 09:50:30 -08:00
Casey Lee
db677404ae issue with patterns and vendor directory 2019-02-07 09:39:04 -08:00
Casey Lee
02b27d9b70 skip integration test in GH actions 2019-02-07 09:09:19 -08:00
Casey Lee
940b4385bf fail on error (#20)
ci-via-github-actions
2019-01-23 11:51:22 -08:00
Casey Lee
3734c54d8f bump goreleaser version 2019-01-23 07:35:12 -08:00
Casey Lee
3f72737720 Update main.workflow 2019-01-23 06:13:09 -08:00
Casey Lee
40f5589ff8 bump workflow 2019-01-23 06:11:53 -08:00
Casey Lee
ff392444a4 add support for 'reuse' mode to allow act to be used for a fast local task runner 2019-01-17 14:53:35 -08:00
Casey Lee
957282b8bc Initial commit with support for GitHub actions 2019-01-12 20:45:25 -08:00