Skip to content

Commit

Permalink
feat: add shfmt CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
epiccurious committed Dec 16, 2023
1 parent 58c5e66 commit b547597
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/bash_validation_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ jobs:
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -e SC1091
#
# in case we want to use shfmt too
#shfmt-checker:
# name: Validation with shfmt
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Run shfmt on jade-diy scripts
# uses: luizm/action-sh-checker@master
# env:
# SHFMT_OPTS: -i 2 -sr
# with:
# sh_checker_shellcheck_disable: true
shfmt-checker:
name: Validation with shfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run shfmt on jade-diy scripts
uses: luizm/action-sh-checker@master
env:
SHFMT_OPTS: -i 2 -sr
with:
sh_checker_shellcheck_disable: true

0 comments on commit b547597

Please sign in to comment.