Skip to content

Commit

Permalink
Test linters for OCI Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Jan 21, 2025
1 parent c214fb6 commit 233537f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-oci-docker-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
run: |
set -eux
sudo apt-get install -y shellcheck
find install/docker install/common -type f -name "*.sh" | cat - <(echo "install/OneClickInstall/install-Docker.sh") \
find install/docker -type f -name "*.sh" | cat - <(echo "install/OneClickInstall/install-Docker.sh") \
| xargs shellcheck --exclude="$(awk '!/^#|^$/ {print $1}' tests/lint/sc_ignore | paste -sd ",")" --severity=warning | tee sc_output
awk '/\(warning\):/ {w++} /\(error\):/ {e++} END {if (w+e) printf "::warning ::ShellCheck detected %d warnings and %d errors\n", w+0, e+0}' sc_output
Expand Down

0 comments on commit 233537f

Please sign in to comment.