-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: add shellcheck and actionlint #5804
Conversation
9326b56
to
a932e55
Compare
0c52974
to
68b800e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Are we planning to remove *-exceptions.txt
files at some point in the future?
@@ -48,6 +48,7 @@ let | |||
ghcid | |||
haskell-language-server | |||
cabal | |||
shellcheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that actionlint is a available in nixpkgs, so maybe it would be better to add it here instead of manual download step in a workflow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum yeah I had missed that actionlint
is in nixpkgs
🤦
I added it to the dev shell and removed the custom installation from the workflow 👍
68b800e
to
8f7682b
Compare
8f7682b
to
637c9dd
Compare
@carbolymer> this is not for me to take this decision but it's a desirable goal in the long run 🙂 cc @angerman (if you happen to be the one that can nudge this forward!?) |
Description
This PR brings pipelines that were first added to CLI (IntersectMBO/cardano-cli#734 and IntersectMBO/cardano-cli#740) to the node. This is also a follow-up of IntersectMBO/cardano-cli#734 (review).
This PR intentionally does not try to make more scripts pass
shellcheck
nor try to have more pipelines files passactionlint
(except for bumping a version ofupload-artifact
which is, as stated on actions/upload-artifact#actionsupload-artifact, going to be deleted in June). This can be done in future PRs. The point of this PR is to capture the current state (i.e. a number of shell scripts and pipelines are already being checked) and also to increase the quality of future additions, because the new pipelines will automatically run on newly added shell scripts and pipelines files (since they won't be in the*-exceptions.txt
files).How to trust this PR
shellcheck
andactionlint
yourselfChecklist