1
1
mirror of https://github.com/nektos/act.git synced 2024-09-21 01:16:26 +03:00
act/pkg/common
Björn Brauer 4391a10d5a
Improve logging (#1171)
* feat: use logger from context wherever possible

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: add step/job id and results to json logs

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* test: value to be masked should not be hard-coded in the action

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* fix: replace values following ::add-mask:: in evaluated strings

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: [DEBUG] identifier for debug logs to distinguish them

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: replace logger with step logger

The container gets injected a job logger, but during the time that steps
are run, we want to use the step logger.
This commit wraps pre/main/post steps in an executor that replaces the
job logger with a step logger.

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: add pre/post stage identifier fields to json log output

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

* feat: add job/step result status to skipped steps/jobs

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-17 15:55:21 +00:00
..
git Improve logging (#1171) 2022-06-17 15:55:21 +00:00
cartesian_test.go Fix indent with go fmt (#531) 2021-02-17 11:47:59 -08:00
cartesian.go Fix Cartesian product to return empty set if empty set is given (#503) 2021-01-23 14:55:54 -08:00
draw.go GitHub env file support (#426) 2021-01-11 22:39:43 -08:00
dryrun.go successfully able to run simple workflows 2020-02-20 21:05:25 -05:00
executor_test.go feat: run jobs in parallel (#1003) 2022-02-25 18:47:16 +00:00
executor.go Improve logging (#1171) 2022-06-17 15:55:21 +00:00
file.go Add super-linter + fix lint issues (#650) 2021-05-03 09:52:03 -07:00
job_error.go fix: continue jobs + steps after failure (#840) 2021-12-08 20:57:42 +00:00
line_writer_test.go integration test 2020-02-24 12:48:12 -08:00
line_writer.go integration test 2020-02-24 12:48:12 -08:00
logger.go successfully able to run simple workflows 2020-02-20 21:05:25 -05:00
outbound_ip.go Asset server implementation (#677) 2021-11-10 09:57:22 -08:00