From c0d56a59c2d0f3e6dd021eb16870b24f0b192b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roni=20V=C3=A4yrynen?= Date: Tue, 24 Aug 2021 09:15:07 +0300 Subject: [PATCH] add shfmt to lint.yml --- .github/workflows/lint.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2a50b08..265c83c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,3 +16,11 @@ jobs: - uses: actions/checkout@v2 - name: run shellcheck uses: ludeeus/action-shellcheck@1.1.0 + + - name: run shfmt + uses: luizm/action-sh-checker@v0.3.0 + env: + SHFMT_OPTS: -i 4 -d + with: + sh_checker_comment: false + sh_checker_shellcheck_disable: true