Feature Releases for Version 2.x.x #44
Pinned
NickLiffen
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
+1 for |
Beta Was this translation helpful? Give feedback.
4 replies
-
I've just created https://github.com/ScottBrenner/cfn-lint-action/blob/main/.github/workflows/update-main-version.yml to ensure the "v2" tag is updated alongside every minor release! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋 I think it would be great to start to think about what features could be shipped in the
v2.x.x
release. I have thought of some and put them below, but I would love other peoples opinions and thoughts on what should/could be included.Feature One - Self Hosted Runners Cache 👏
For self-hosted runners, as they don't spin up a "new" machine every time, we are able to use the tools-cache action to cache the binary on the machine and then re-use it on the next run. This would stop the runner from downloading the "same" version of the tool on every run. This would speed up how long it takes to set up the
cfn-lint
tool.I don't know how many people who use this GitHub Action are using self-hosted runners, so it's a little hard to say what value this would provide.
Feature Two - GitHub.com Runners Cache 👍
It would be great to come up with a way to cache the
cfn-lint
binary across workflow runs. We would have to do something funky as we would have to cache theversion number
of the binary and if that doesn't change then we just pull from the cache. The problem is going to be if the user doesn't specify a version number in their action, it uses0.*
. We can't cache0.*
as this would NEVER pull down the new version until a new major version was out.This one I think is going to be hard but is likely the best feature to add IMO.
Feature Three - Remove the
0.x
version pulling - create a helper that gets the latest version 👻Right now, if the user doesn't specify a version number, we simply pull down the latest
0.x
release. I think if ever we are going to get this working: Feature Two - GitHub.com Runners Cache, we are going to need to remove the0.x
capability and create a helper function that returns the latest version of thecfn-lint
package and then uses that explicit version to download the package.This one is one of the easier features, but not a lot of upfront value, more behind the scenes work.
Feature Four - Opinionate Key Commands 👾
I think it would be great if we were to opinionate some key commands into the
with
arguments of this GitHub Action. Right now we ask the user to specify the whole command they want to run. I think for key commands such as:We would create an opinionated command where the user uses this action like this:
Now the foundation is there, I think this would be a good feature to have 👍 This is only one example, I think there are many that we could add.
The value of this is the user doesn't have to specify whole commands, and it's all handled by the GitHub Action. However, more overhead on maintainers if these commands ever "break".
Feature Five - Integrations
Keen to know if people use this package (cfn-lint) with anything else, or maybe send the results of this scan to X service. I see a few other GitHub Actions doing similar things which allow the results of the scan to be sent to X tool/service for an aggregated experience.
Unsure on the value of this one, just see other actions doing similar things to maybe worth us looking into 🤔
Beta Was this translation helpful? Give feedback.
All reactions