act/pkg/model
Nathan Shaaban 7286b43b0e
fix: fail if no stages were found ()
* fix: fail if no stages were found

Adds a warning message if act is cannot find any stages to run
with the filters provided.

Reproduction:
- run `act -j gibberish`

Desired behavior: some indication I did something silly
Actual behavior: no output, just exit with success.

As a human who often makes spelling mistakes,
it would be nice if act warned me what I was doing that was silly
rather than exiting apparently doing
nothing with no obvious indication
I did something wrong.

* Revert "fix: fail if no stages were found"

This reverts commit 226adf1c15cf4c01d516a05dc923507e6999978d.

* fix: fail if no stages were found

Errors if no stages were found with the given filters.
Prints out a helpful error message, pointing users
in the right place for how to specify which stage to run.

Reproduction:
- run `act -j gibberish`

Desired behavior: some indication I did something silly
Actual behavior: no output, just exit with success.

As a human who often makes spelling mistakes,
it would be nice if act warned me what I was doing that was silly
rather than exiting apparently doing
nothing with no obvious indication
I did something wrong.
2023-08-21 17:53:47 +00:00
..
testdata implement volume mount for container job () 2022-04-04 18:01:13 +00:00
action.go implement pre and post steps () 2022-05-24 13:36:06 +00:00
github_context.go fix: ghc assignment typo () 2023-04-13 14:09:29 +00:00
github_context_test.go fix: correct ref and ref_name () 2023-03-09 20:03:13 +00:00
job_context.go refactor: export and move shared contexts into pkg/model () 2021-12-22 19:52:09 +00:00
planner.go fix: fail if no stages were found () 2023-08-21 17:53:47 +00:00
planner_test.go fix: fail if no stages were found () 2023-08-21 17:53:47 +00:00
step_result.go refactor: fix savestate in pre steps () 2022-12-15 17:08:31 +00:00
workflow.go feat: cmd support for windows () 2023-08-08 15:44:25 +00:00
workflow_test.go throw when invalid uses key is provided () 2023-07-10 21:27:43 -07:00