Commit Graph
20 Commits
Author SHA1 Message Date
hackercatandGitHub 41b03b581c fix: add ImageOS env var based on running platform (#571) 2021-03-17 17:14:08 -07:00
hackercatandGitHub 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
hackercatandGitHub eb2774275f Fix tests on Windows (#562)
* fix: replace `\` with `/` in git ref to fix `git_test.go` on windows

Paths on Windows use backslash (`\`) as directory separator and this breaks `TestGitFindRef()`.
Replacing `\` with `/` in git ref fixes that issue.

* fix: replace `gopkg.in/godo.v2/glob` with std library `path/filepath`

`github.com/go-godo/godo` lib has been last updated in 2016 and it also
depends on another outdated lib `github.com/MichaelTJones/walk` with
last update in 2016. This also fixes `permission_denied` errors on
Windows (and perhaps Linux in some specific cases). I'm not aware of
any performance improvement or drawback because of that change.
2021-03-12 16:23:03 -08:00
hackercatandGitHub 34dc2dc15c Update Docker images (#524) 2021-02-23 09:49:24 -08:00
Cat™andGitHub 661aa08235 Add GitHub issue templates (#512) 2021-02-08 09:15:51 -08:00
Cat™andGitHub fc46f506e3 Update README.md/cmd/root.go with additional information (#523)
* Update README

* Add notice about large image, add link to repo for `.actrc`
2021-02-08 09:12:57 -08:00
Cat™andGitHub ec6b1624c0 Fix choco Dockerfile (#515) 2021-02-03 11:12:15 -08:00
Cat™andGitHub 8339f4b404 Interpolate with: inputs (#511) 2021-01-30 17:43:11 -08:00
e37b42a333 Print error with workflow/job information when runs-on key is not defined (#494)
Co-authored-by: Casey Lee <[email protected]>
2021-01-21 06:02:48 -08:00
Cat™andGitHub b424a785e3 Load .secrets file as default (#488)
* Load .secrets file as default

* Update README
2021-01-19 06:31:46 -08:00
6130460c40 Add survey during first run for a default image (#483)
* Add survey during first run for a default image

* few minor formatting updates

* Use image from DockerHub

Co-authored-by: Casey Lee <[email protected]>
2021-01-19 06:30:17 -08:00
Cat™andGitHub 9bbf35e88e Add autodetect event flag (#486)
* Add autodetect event flag

* Add new flag to README.md

* Make help more clear
2021-01-18 11:42:55 -08:00
Cat™andGitHub 41692c314d Add --env flag to pass environment vars without file (#474) 2021-01-14 21:26:01 -08:00
Cat™andGitHub 460ed2db04 Update parts of repo (#476)
* Update flags in README

* Add secrets and `.env` files examples

* Fix typo: environment

* Fix typo: returned

* Add --version back, since I've built act without ldflags
2021-01-14 21:21:44 -08:00
Cat™andGitHub 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
Cat™andGitHub 2811101dea Make all secrets case insensitive by formatting them to uppercase (#470)
* Uppercase secrets, print error when secret with same name already exists

* Test lower-to-upper case formatting for secrets
2021-01-12 09:54:53 -08:00
Cat™andGitHub 760daebf5d Fix slashes when running on Windows (#461) 2021-01-11 22:41:35 -08:00
Cat™andGitHub 80a245652e Add option to disable hiding of secrets (#460) 2021-01-11 22:28:45 -08:00
Cat™andGitHub a9b3d6426b Use static initial PATH (#462) 2021-01-11 22:27:16 -08:00
fecc571bce Add Ubuntu 20.04 to supported platforms (#463)
Co-authored-by: Casey Lee <[email protected]>
2021-01-11 22:22:53 -08:00