Commit graph

104 commits

Author SHA1 Message Date
Casey Lee
c27ef0a65c
update to codecov version 2021-03-29 09:07:13 -07:00
hackercat
f5a02581c2
Add code testing on MacOS (#563)
* feat: add code testing on macos

* change name of test job

Keep the test job named `test` to align with current branch protection checks

Co-authored-by: Casey Lee <cplee@nektos.com>
2021-03-29 07:55:51 -07:00
Casey Lee
69018f36d3
include past tags when releasing 2021-03-28 22:11:42 -07:00
Casey Lee
f58fbc0dff
add codecov integration 2021-03-28 22:02:11 -07:00
Justin Grote
da07324779
CI: Add snapshot artifacts to PR builds (#574)
* Feat: Add snapshot artifacts to PR builds

* Separate Artifacts to keep file size down

* Name the tasks
2021-03-28 21:38:28 -07:00
hackercat
6c258cf40d
Add option to run custom architecture (container platform) (#525)
* Add QEMU to run different architectures

* Update dependencies in `go.mod`

* Add `--container-architecture` flag to specify custom image architecture

Co-authored-by: Casey Lee <cplee@nektos.com>
2021-03-28 21:08:40 -07:00
hackercat
09679f0156
Update test workflows and improve expression_test.go/run_context_test.go (#560)
* fix: give case insensitive secret more meanigful name

* refactor: use `string` in generating `env:` and `steps:` for workflows

Smaller text generation is much better to read with normal strings than
raw string literals.

* feat: sort keys for `env:` so it's always in specific order

* fix: update test workflows
2021-03-12 16:25:10 -08:00
Cat™
661aa08235
Add GitHub issue templates (#512) 2021-02-08 09:15:51 -08:00
Cat™
ec6b1624c0
Fix choco Dockerfile (#515) 2021-02-03 11:12:15 -08:00
Casey Lee
7f6a808262
update stale labels to stop closing issues that are NOT stale 2021-01-18 10:41:49 -08:00
Cat™
97dc3cf147
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
15eaa15a0e
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
b3299ecd30
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
8ba3306aa4
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
d6b2e9df78
increase operations per run 2020-11-08 08:31:19 -08:00
Casey Lee
e6a391ddb1
remove stale label when comments added 2020-11-08 08:23:53 -08:00
lshamis
644bc2b635
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
3eef111e46
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
0d5a228ab9
update actions/stale to remove stale when issues are updated 2020-08-28 11:56:20 -07:00
Casey Lee
b7fcf137ab
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
bd6f232b20
fix build for windows 2020-03-06 17:08:07 -08:00
chenrui
ca648a37c8
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
c588c07ce7
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
a5570ffdd6
run on push and pull_request 2020-03-02 08:04:30 -08:00
Casey Lee
45839d68ec
manage stale issues in GH actions 2020-02-28 09:35:29 -08:00
Casey Lee
eb28924ba5
actions 2020-02-24 15:05:41 -08:00
Casey Lee
d54b25d983
makefile cleanups 2020-02-24 15:04:33 -08:00
Casey Lee
3a65967b95
ci cleanup 2020-02-24 14:43:03 -08:00
Casey Lee
037e08a3a7
integration test 2020-02-24 12:48:12 -08:00
Casey Lee
6c632946be
unit tests pass 2020-02-24 10:56:49 -08:00
Casey Lee
bc2b952b65
token for goreleaser
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:24 -05:00
Casey Lee
ad2789fa1b
new token for brew
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:22 -05:00
Casey Lee
e4ee2ddab7
disable integration testing
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:06:13 -05:00
Casey Lee
6fb2fbbeaa
add funding.yml
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:51 -05:00
Casey Lee
64562d41ab
test updates
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:44 -05:00
Casey Lee
f7252cbcf9
add commands support
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:42 -05:00
Casey Lee
033168228b
cleanup logging
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:40 -05:00
Casey Lee
a21d4bbd90
ignore actions/checkout locally
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:38 -05:00
Casey Lee
835b36cb63
ci tests
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:36 -05:00
Casey Lee
0582306861
unit tests
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:31 -05:00
Casey Lee
be75ee20b1
local actions
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:29 -05:00
Casey Lee
4e046e1ec0
support custom shell
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:27 -05:00
Casey Lee
532af98aef
successfully able to run simple workflows
Signed-off-by: Casey Lee <cplee@nektos.com>
2020-02-20 21:05:25 -05:00
Casey Lee
8c49ba0cec
initial load of yaml working 2020-02-04 16:38:41 -08:00
Casey Lee
6fa86b407f
fix unit test failures in GitHub Actions caused by missing gitconfig 2019-05-28 09:47:40 -07:00
Casey Lee
de62a2eece
resolve issues with release action 2019-02-07 09:50:30 -08:00
Casey Lee
7b012832b4
issue with patterns and vendor directory 2019-02-07 09:39:04 -08:00
Casey Lee
eed58492aa
skip integration test in GH actions 2019-02-07 09:09:19 -08:00
Casey Lee
320e9b6057
fail on error (#20)
ci-via-github-actions
2019-01-23 11:51:22 -08:00
Casey Lee
f98caa2656
bump goreleaser version 2019-01-23 07:35:12 -08:00
Casey Lee
c08b37978b
Update main.workflow 2019-01-23 06:13:09 -08:00
Casey Lee
8c4572fd7d
bump workflow 2019-01-23 06:11:53 -08:00
Casey Lee
8793c8a6a4
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
f683af5954
Initial commit with support for GitHub actions 2019-01-12 20:45:25 -08:00