act/pkg
Nathan Shaaban 7286b43b0e
fix: fail if no stages were found (#1970)
* 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
..
artifactcache fix: handle zero size (#1888) 2023-07-10 20:35:27 -07:00
artifacts chore: upgrade golangci-lint and address findings (#1904) 2023-07-10 17:12:12 -07:00
common chore: upgrade golangci-lint and address findings (#1904) 2023-07-10 17:12:12 -07:00
container Fix "Unknown server OS" for Docker container --device option (#1957) 2023-08-09 18:21:05 +00:00
exprparser Shorten or/and in expressions (#1939) 2023-08-08 14:30:13 +00:00
lookpath feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
model fix: fail if no stages were found (#1970) 2023-08-21 17:53:47 +00:00
runner refactor: remove unnecessary nil check in RunContext (#1955) 2023-08-09 12:41:12 +00:00
workflowpattern feat: workflowpattern package (#1618) 2023-02-23 18:21:08 +00:00