mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
chore: Add shellcheck and make checks passing (#315)
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
This commit is contained in:
parent
645f3fd126
commit
3045dd55a3
5 changed files with 34 additions and 24 deletions
4
.github/workflows/pre-commit.yaml
vendored
4
.github/workflows/pre-commit.yaml
vendored
|
|
@ -21,6 +21,10 @@ jobs:
|
|||
run: |
|
||||
curl -L "$(curl -s https://api.github.com/repos/mvdan/sh/releases/latest | grep -o -E -m 1 "https://.+?linux_amd64")" > shfmt \
|
||||
&& chmod +x shfmt && sudo mv shfmt /usr/bin/
|
||||
|
||||
- name: Install shellcheck
|
||||
run: |
|
||||
sudo apt update && sudo apt install shellcheck
|
||||
# Need to success pre-commit fix push
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue