Skip to content
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

Allow to skip downloading shellcheck if it is installed already #93

Open
1 task done
SimonHeimberg opened this issue Jul 26, 2023 · 1 comment
Open
1 task done

Comments

@SimonHeimberg
Copy link

SimonHeimberg commented Jul 26, 2023

Checklist

  • This Feature Request only contains 1 request (if you have multiple open multiple feature requests).

The idea

Allow to skip downloading shellcheck if it is installed already.

Implementation

  • As an if condition on the step "Download shellcheck" (set by a new input or by a special value of "version")
  • or probably better check in the bash script of this step if the command is available (maybe if "version" is (like) "-stable" and downloads "stable" if not available).

Alternatives

???

Additional context

shellcheck is installed on ubuntu runners: https://github.com/actions/runner-images/blob/ubuntu22/20230710.1/images/linux/Ubuntu2204-Readme.md#installed-apt-packages

@airtonix
Copy link

Would like this too as we already use asdf as our general setup step. so that handles installing shellcheck for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants