Skip to content

Commit

Permalink
Update ci-oci-install.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Jan 20, 2025
1 parent 32d1ab8 commit affe7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-oci-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
sudo apt-get install -y shellcheck
find install/OneClickInstall tests -type f -name "*.sh" ! -path "install/OneClickInstall/install-Docker.sh" \
| xargs shellcheck --exclude="$(awk '!/^#|^$/ {print $1}' /tests/lint/sc_ignore | paste -sd ",")" --severity=warning | tee sc_output
awk 'BEGIN {w=0; e=0} /\(warning\):/ {w++} /\(error\):/ {e++} END {if (w+e) printf "::warning ::ShellCheck detected %d warnings and %d errors\n", w, e}' sc_output
awk 'BEGIN {w=0} /^SC[0-9]+/ {w++} END {if (w > 0) printf "::warning ::ShellCheck detected %d issues\n", w}' sc_output
- name: Determine affected distributions
id: determine-distros
Expand Down

0 comments on commit affe7ce

Please sign in to comment.