Skip to content

Commit

Permalink
[CI] fix breaking action
Browse files Browse the repository at this point in the history
  • Loading branch information
cevhyruz committed Feb 3, 2023
1 parent 321ac67 commit 48f01dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ jobs:
run: GO111MODULE=on go install mvdan.cc/sh/v3/cmd/shfmt@latest

- name: Install shellcheck
run: brew install shellcheck
env:
scversion: stable # Or latest, vxx, etc
run: |
wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv "shellcheck-${scversion}/shellcheck"
sudo cp "shellcheck-${scversion}/shellcheck" /usr/bin/
- name: Install pre-commit
run: python3 -m pip install pre-commit==2.3.0
Expand Down

0 comments on commit 48f01dc

Please # to comment.