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

build: provide ShellCheck shared workflow & template #64

Merged
merged 12 commits into from
Mar 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build: squash: no special logic needed for "no input files" scenario
kdmccormick committed Mar 10, 2023
commit 61b080aa35287cef36201d33dd26a8f78e6f6005
7 changes: 0 additions & 7 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -95,13 +95,6 @@ jobs:
done
echo "SHELLCHECK_FIND_CMD=$shellcheck_find_cmd" >> "$GITHUB_ENV"

- name: Ensure that at least one script will be checked
run: |
if [[ -z "$(${{ env.SHELLCHECK_FIND_CMD }}})" ]] ; then
echo "::error::Error: No .sh files found for input to ShellCheck!"
exit 1
fi

- name: Print helpful information
run: |
shellcheck -V