Skip to content
Merged
Changes from all commits
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
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y shellcheck
run: |
if [[ "$RUNNER_OS" == "Linux" ]]; then
sudo apt-get update
sudo apt-get install -y shellcheck
elif [[ "$RUNNER_OS" == "macOS" ]]; then
brew install shellcheck
elif [[ "$RUNNER_OS" == "Windows" ]]; then
choco install -y shellcheck
fi
- name: Lint Shell Scripts
run: shellcheck tests/*.sh
- name: Build
Expand Down
Loading